Curtis Vaughan wrote: > Can someone tell me the correct command line for moving a bunch of > files between directories that are, say, older than yesterday while > preserving their time stamps?
find . <paramters to select appropriate files> \ while read FILE ; do mv $FILE other-directory/$(basename $FILE) done Read find(info), bash(1), and mv(1) for more details. Best, Matěj -- GPG Finger: 89EF 4BC6 288A BF43 1BAB 25C3 E09F EF25 D964 84AC http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED] 23 Marion St. #3, (617) 876-1259, ICQ 132822213 There are lies, damned lies, and quotes from literary icons. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]