Changes

Jump to navigation Jump to search
295 bytes added ,  14:09, 23 October 2007
added hint for using command line to change file extension
Line 79: Line 79:     
or just use [http://www.bombich.com/software/ccc.html carbon copy cloner]
 
or just use [http://www.bombich.com/software/ccc.html carbon copy cloner]
 +
</blockquote>
 +
 +
8. '''Replace file extension of all files within a directory'''
 +
<blockquote>
 +
<tt>find ~/MyDirectory -name '*.txt' -exec mv {} {}.xls \;</tt><br><br>
 +
 +
The first arg is the parent directory of the data. Find will recurse thru all sub-dirs. This command replaces ".txt" with ".xls"
 
</blockquote>
 
</blockquote>
  

Navigation menu