Linux command line tool to copy files over ssh
location: ubuntuforums.com - date: August 1, 2009
Present all my site are running at VPS server. i am planing to move all those 2 shared hosting.
Anyway can me help me @ Server 2 Server copy files.
Command Line search all html files, retrieve attribute value
location: linuxexchange.com - date: November 6, 2014
I need to get all the inline "data-title" attribute values out of a bunch of html files that are located in different subdirectories. Is there a simple way to do this on a linux machine?
I had found something similar on another SO post, had attempted editing it, but I am a sed novice:
sed "s/.* data-title=\"\(.*\)\".*/\1/"
I haven't been able to get this part quite right, and I think I'll need an utilize an additional search utility to get this working. Ideally I'd like to get all output to a txt file.
<aside class="grid-sidebar sidebar">
<div id="listLoading"><div id="loading-listLoading" class="front-center" style="padding-top: 22%; top: 0%; display: none;"><div style="width: 42px; height: 42px; position: absolute; margin-top: 17px; margin-left: -21px; -webkit-animation: spin12 0.8s linear infinite;"><svg style="width: 42px; height: 42px;"><g transform="translate(21,21)"><g stroke-width="4" stroke-linecap="round" strok
Linux command line : edit hacked index files
location: linuxexchange.com - date: August 19, 2014
I'm unfortunately once more dealing with a hacked site on a Linux Plesk server. While the issue is fixed with FTP access changed (it got down to the famous Filezilla FTP codes hack on a PC) I'd appreciate to know how to edit files as it may take over an hour to restore the site to the most recent backup we have, and I'd be glad to have it back online faster.
it now starts like
As that chain contains a variable, could you help me find a sure-fire method to edit all the changed Index files (about 80 found) ?
I have used a SED re
Linux command line script to renumber files backward
location: linuxexchange.com - date: January 1, 1970
I have JPG files numbered 3006-3057 that I would like to reverse number. I would be content renaming them by adding a backwards number count to the beginning of the name: img_3006.jpg > 99_img_3006.jpg and img_3057.jpg > 48_img_3057.jpg.
print files in PDF or html format from the linux command line
location: linuxquestions.com - date: July 12, 2004
In their software available that can be used to print files in PDF and html
format directly from the unix command line, i.e. to a system printer on the linux server
Ubuntu Command line search all files for a particular string
location: ubuntuforums.com - date: June 3, 2013
Using the terminal I am trying to search all files for a particular string
This is my attempt
find . -iname "*" -print0 | xargs -0 cat | grep "220.127.116.11" | >> ~/Documents/searchres
Now this works BUT it is missing one quite important detail, and that is the filename
How would I include this in my output please?
A linux command line to convert voice WAV file to Text file format?
location: ubuntuforums.com - date: September 13, 2010
What is the command line to convert a WAV file to Text file? It is some kind of voice recognition, similar to Windows. What is the command under LINUX ?
I recorded my voice from a regular device, and would like to have it as text like under MS Windows.
Shell script/linux command for altering Text files [closed]
location: linuxexchange.com - date: February 5, 2014
i have some 40000 of .txt files which contains frames like:
30724 64260 65286 65527 46579 83 65 72 28652 65516 57343 3127 2067 30750 64332 65532 65532 38364 0 0 512 16368 65535 65534 55806 0 0 0 32271 .
i just want to add some parameter name at start and end of the file so that i can use those files for my load Test.
the required format should be :
"frames":"30724 64260 65286 65527 46579 83 65 72 28652 65516 57343 3127 2067 30750 64332 65532 65532 38364 0 0 512 16368 65535 65534 55806 0 0 0 32271",
please help with linux scripts for do so as i am a beginner for shell scripts.
Thanks in Advance
Is there a Linux command line tool sequence for converting XML files into a single HTML file?
location: linuxexchange.com - date: July 18, 2014
I have a bunch of XML files, and I would like to visualize them as tables in an HTML file. I have searched on the net and found a tutorial on XML->HTML conversion, and a bunch of blogs describing command line tools for HTML/XML/JSON conversion.
Is it possible to use command line tools in Linux to convert a bunch of XML files into a HTML file where each XML file is represented as a table?
Edit: More background information.
I actually want to analyze the XML output of Google Test, that I'm using to develop geometrical algorithms. Here is how the XML looks like for a single test application:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites tests="27" failures="0" disabled="0" errors="0" timestamp="2014-07-18T10:27:10" time="0.002" name="AllTests">
<testsuite name="lineSegmentIntersection" tests="3" failures="0" disabled="0" errors="0" time="0">
<testcase name="halfspaceNoIntersection" status="run" time="0" classname="lineSegmentIntersection" />
How to sort files numerically from linux command line
location: linuxexchange.com - date: July 24, 2010
Okay, now this is more a rant about Linux than a question, but maybe someone knows how to do what I want. I know this can be achieved using the sort command, but I want a better solution because getting that to work is about as easy as writing a C program to do the same thing.
I have files, for arguments sake, lets say I have these files: (my files are the same I just have many more)
Now this turns out to be the order I want them sorted in. Incidentally, this is the order in Windows that they are by default sorted into. That's nice. Windows groups consecutive numerical characters into one effective character which sorts alphabetically before letters.
If I type ls at the linux command line, I get the following garbage. Notice the 20 is displaced. This is a bigger deal when I have hundreds of these files that I want to view in a report, in order.
Page: 1 2 3 4 5 6 7 8 9 10