Re: Multiple directory copies

2000-12-08 Thread John Horne
On 07-Dec-00 at 19:53:51 Dave Dykstra wrote: On Thu, Dec 07, 2000 at 05:46:54PM -, John Horne wrote: rsync -e ssh -aq tables/ data/ eros: (eros is the remote host) Having a slash at the end of the source specification removes the base name of the source from the destination

trailing slash (was Re: Multiple directory copies)

2000-12-08 Thread Bennett Todd
2000-12-08-05:24:50 John Horne: On 07-Dec-00 at 19:53:51 Dave Dykstra wrote: Having a slash at the end of the source specification removes the base name of the source from the destination filename. Hmm, easy when you know how eh? :-) "It says there on the list of ingredients, right

Re: trailing slash (was Re: Multiple directory copies)

2000-12-08 Thread Andrew Tridgell
The reason for the trailing slash behaviour is that: 1) I wanted an interface where the same result would be achieved whether or not the directory currently exists on the destination. With "cp -a" you cannot know what the command will do, it will put the files in a different place the

Multiple directory copies

2000-12-07 Thread John Horne
Hello, I'm trying to arrange via cron for an account with several directories to be updated overnight. I do not want everything in the account updated - just some of the directories. However, I can't seem to see how I can specify in one go to copy more than one directory to the remote account. I

Re: Multiple directory copies

2000-12-07 Thread Dave Dykstra
On Thu, Dec 07, 2000 at 05:46:54PM -, John Horne wrote: Hello, I'm trying to arrange via cron for an account with several directories to be updated overnight. I do not want everything in the account updated - just some of the directories. However, I can't seem to see how I can specify