[mdlug] RSYNC Question
JeremyBekka C
jrchristophel at gmail.com
Thu Sep 28 16:03:45 EDT 2017
Great that fixed it. I realized that I also had to put the "/" at the end
of "/home/username/" or it did the same thing.
Thanks!
On Thu, Sep 28, 2017 at 3:10 PM, Brian Brodsky <brianbrodsky at ameritech.net>
wrote:
> I always put the ending / on all directories when using rsync
>
>
> On Thursday, September 28, 2017 1:06 PM, JeremyBekka C <
> jrchristophel at gmail.com> wrote:
>
>
> I use rsync to keep my computer backed up with my external hard drive.
> This
> is the command that I use:
>
> rsync -rltDvu --modify-window=1 --progress --delete --delete-excluded
> --exclude-from=/home/username/Documents/Backup-Exclude-List.txt
> /home/username /run/media/username/Iomega\ HDD/Backup
>
>
> This command works fine for routine backups, but there is a problem when
> using it on a new install. For example, I just installed an new Linux OS on
> my desktop computer and ran this command in reverse to put all my stuff
> back on my computer from the external Iomega. Instead of putting everything
> where it belongs, it created a new folder called "Backup" in my /home
> directory and filled it with everything on the Iomega. I had to manually
> move everything back where I wanted it.
>
> The same thing is happening again now that I want to sync my computer with
> the Iomega. It is putting all my stuff from my computer into another folder
> in the /Backup directory on the Iomega rather than updating the existing
> folders within the /Backup directory.
>
> Just wondering why this is happening and how I can fix it.
>
> Thanks,
>
> J
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
>
>
> _______________________________________________
> mdlug mailing list
> mdlug at mdlug.org
> http://mdlug.org/mailman/listinfo/mdlug
>
More information about the mdlug
mailing list