Re: restore with rsync or fix window manager

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Brian Cluff
Date:  
To: Main PLUG discussion list
Subject: Re: restore with rsync or fix window manager
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@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 -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss