25 Aug
2014
25 Aug
'14
14:55
On Monday 25 of August 2014 16:38:52 Per Jessen wrote:
I'm trying to copy
rsync -av server:"/dir/jessen/.* /dir/jessen/*" /home/somedir
The idea being everything under /dir/jessen/ should end up under /home/somedir. This works fine except rsync also picks up '..' and traverses up the directory tree, which I certainly don't want.
Perhaps .[^.]* works instead. My take for the command line would be rsync -av server:/dir/jessen/ /home/somedir Notice the slash at the end of the source; man rsync. -- Regards, Peter -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org