Linux command to remove multiple files with two dot in the file name
location: linuxexchange.com - date: March 28, 2014
Example file names is
rm -rf "*.\*.xdc" is not working
linux command to concatenate multiple files with content separated by filenames?
location: linuxexchange.com - date: July 22, 2011
I am looking for a command that will concatenate multiple files in a directory tree with sames having a pattern such that the resulting file has contents of all the files separated by the name(path) of each file. I tried using find -exec and sed but couldn't succeed.Please help.
More specifically I have a directory containing many sub-directories having file named 'test.FAILED'. I want to concatenate all the test.FAILED files separated by their Paths so that I can have a look at all of them at the same time.
How to replace a string in multiple files in linux command line
location: linuxexchange.com - date: April 17, 2015
I need to replace a text in so many files in a folder, I only have ssh access of the server. How can I do that ? Please help.
paste multiple files in linux command line without the blank clumns between every file
location: linuxexchange.com - date: January 1, 1970
whenever I try to paste multiple files with whatever columns they have, I have problem with the blank columns created between files
for example I want to paste 5 files, each one contains 5 columns
paste file1 file2 file3 file4 file5
What is a specific command for zipping and compressing multiple files with lzma2 on linux command line?
location: linuxexchange.com - date: March 31, 2015
Can you give an example for compressing files with lzma2?
I searched on Google but I didn't find any examples that I could understand.
zip multiple files and send as mail in a single command in linux
location: linuxexchange.com - date: September 16, 2011
Can we zip multiple text files and send as mail in a single linux command? I tried something with uuencode, but it didn't work out.
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.
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
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