I am using Ubuntu 12.04 as a repo and would like to view a progress bar when using rsync
from the command line. I tried the option suggested in this article (-P
), but I prefer to see a progress bar and not use Grsync. I am using rsync -P source dest
currently.
When I do something like:
rsync Videos/YouTube/LetsPlays foo@bar:/home/foo/
The resulting directory structure looks like:
/home/foo/LetsPlays
I've read the man pages but couldn't an option to maintain the directory structure, aiming for
/home/foo/Videos/YouTube/LetsPlays
as result. Any ideas?
As always thanks in regards, Markus
I’ve searched all over the internet and everybody suggests the same thing - that adding --exclude=´.*´
should exclude hidden files and folders from an rsync. It doesn’t. I´ve also tried adding a slash and/or double quotes eg. --exclude=¨\.*¨
Nothing seems to work. AGH!! Would really appreciate some help.
I am trying to backup my home folder on my NAS drive. I am giving this:
rsync -Paz --exclude-from 'rsync-exclude.txt' /home/chris/ [email protected]:LinuxHome
where rsync-exclude.txt
has this content:
/home/chris/Downloads/*
/home/chris/Downloads/
/home/chris/Downloads/*.*
and it is in the same folder I execute rsync (home folder).
However the rsync tries to copy this folder, too.
What am I doing wrong?
I'm running 'rsync -a -i /foo /bar'. Every now and then I would like to know what exactly rsync is doing at the moment without having the -v output all the time. Is it possible to increase the verbosity of running processes e.g. by sending a kill signal?