Tuesday, January 17, 2012

find files and copy somwhere else

# find [pathtofiles] [findparameter] -exec cp {} [destinationpath] \;

findparameter examples "modified":
-mtime 1 (up to 24 hours old)
-mtime 1 -daystart (24 hours back in time from the beginning of the current day)


Friday, January 13, 2012