Open main menu
Home
Random
Log in
Settings
About MagnetoWiki
Disclaimers
MagnetoWiki
Search
Changes
← Older edit
Newer edit →
Computers
(view source)
Revision as of 14:09, 23 October 2007
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>
Houpt
Bureaucrats
,
Administrators
1,093
edits