home | list info | list archive | date index | thread index

Re: [Bulk] [OCLUG-Tech] Copying Empty Directories

* Randal Leavitt <randal [ dot ] leavitt [ at ] rogers [ dot ] com> [070226 07:44]:
> >I am trying to backup my email on a memory stick.  I used the cp command:
<snip>
> Um, I think I figured it out.  The command that I should use is
> 
> cp -R source directory

you could also run:

        rsync -av mymail/ /usb/stick/mymail/

rsync is a program that avoids copying data that did not change.
Presumably this backup will be repeated many times.

Note that rsync is picky about slashes at the end of the path directory.

-Bart

-- 
				WebSig: http://www.jukie.net/~bart/sig/

Attachment: signature.asc
Description: Digital signature