restore with rsync or fix window manager

Brian Cluff brian at snaptek.com
Sun Jan 10 09:31:11 MST 2016


Think of the rsync line as:
Put the first directory listed INTO the second directory listed.

So you need to do:

rsync -aWq /media/bmike1/RedSanDisk/Documents /home/bmike1/

Brian Cluff

On 01/10/2016 06:07 AM, Michael Havens wrote:
> Hey... how can I rsync just the stuff in a folder.
>
> rsync -auq --include ~/Documents /media/bmike1/<tba>/Documents
>
> will create a backup of Documents But when I restore it with:
>
> bmike1 at MikesBeast ~ $ rsync -aWq /media/bmike1/RedSanDisk/Documents 
> /home/bmike1/Documents/
>
> it creates a Documents in the Documents directory. Why did it do that. 
> What command should I have entered?
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20160110/0037e2b1/attachment.html>


More information about the PLUG-discuss mailing list