Newsgroups: comp.unix.shell
From: Hongyi Zhao <hongyi.z...@gmail.com>
Date: Mon, 29 Oct 2012 02:13:09 +0000 (UTC)
Local: Sun, Oct 28 2012 10:13 pm
Subject: Re: Can I doesn't use popt alias file for rsync, while use the alias function in-line/in-place with the rsync command?
On Sun, 28 Oct 2012 21:26:07 +0000, Ben Bacarisse wrote:
Let me give more detailed of my topic:
> Part of the problem is what you seem to be asking -- how to avoid using > the .popt file -- seems to be too simple to be the actual problem. If > that's all you want to do, just add the arguments that -Z aliases > directly. In my case, I first use the /home/werner/.popt file to define the alias -
$ cat /home/werner/.popt
Then I run rsync with the alias -Z like this:
$ rsync -avZ --temp-dir=/tmp /media/cdrom/pool/ /home/werner/Desktop/111/
Now, suppose I want to do some more complicated job including the above BTW, as you have pointed that, we can simply invoke the rsync like for my rsync -av --no-p --no-g --chmod=ugo=rwX --temp-dir=/tmp /media/cdrom/
But for a more complicated case, say, I want to do server different rsync Regards
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||