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

Re: Find and copy script/piped command



On 10/30/03 1:00 PM, "Waldher, Travis R" <Travis R Waldher boeing com>
wrote:

>> -----Original Message-----
>> From: A. John Peters [mailto:ajpeters ajpconsult com]
>> Sent: Thursday, October 30, 2003 9:24 AM
>> To: redhat-install-list redhat com
>> Subject: 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?
> 
> Is this for backup purposes?  If so, wouldn't you want to preserve the
> directory paths?
> 
> 
> 

Actually the original dir is the backup.  This is a temp. copy for quick
access restore.






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