[TriLUG] copying files

David Brain dbrain at gmail.com
Tue Jun 19 21:21:38 EDT 2012


Seems like 'cp --parents'  would be helpful, if you have:

source/dir1/foo

cp --parents source/dir1/foo dest

will result in:

dest/source/dir1/foo

could probably be included in find.. find ./ -mmin -5 -type f -exec cp
--parents -auv {} ../backup \; .. or something like that.

David.


On Tue, Jun 19, 2012 at 9:05 PM, Joseph Mack NA3T <jmack at wm7d.net> wrote:
> On Tue, 19 Jun 2012, David Both wrote:
>
>> How about rsync?
>
>
> did you read my reply to Robert Dale about rsync?
>
>
> Joe
>
> --
> Joseph Mack NA3T EME(B,D), FM05lw North Carolina
> jmack (at) wm7d (dot) net - azimuthal equidistant map
> generator at http://www.wm7d.net/azproj.shtml
> Homepage http://www.austintek.com/ It's GNU/Linux!
> --
> This message was sent to: dbrain at gmail.com <dbrain at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/dbrain%40gmail.com
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions



More information about the TriLUG mailing list