[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Find and copy script/piped command



I am trying to copy all files changed in the last 24 hours to a new
directory.

find /home/Nursery -mtime -1
I want all the results copied to todays directroy
cp {results} /home/Thursday/

If I have to I can tar with a z option.

Any hints?




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]