Displaying 3 results from an estimated 3 matches for "remotedirectory".
2004 Feb 20
1
Shell or rsync issue?
I ran across something I did not expect in rsync the other day. If you
want to sync the contents of a local directory to a remote directory,
you would use something like this:
rsync -rptv /local/directory/ user@host::module/remotedirectory/
The root of the sync is "/local/directory" and files are referenced as
"file1", "file2", etc...
However, the reverse is not true. This command:
rsync -rptv user@host::module/remotedirectory/ /local/directory/
will sync the files using "/local" as th...
2007 Feb 14
15
Recursive home-dir does more than only files in repository
Hi all,
Today I came across something that I consider a bug. Would like to hear your
opinions.
Facts:
- Using 0.22.1 from Debian Unstable on a Debian Testing machine
- Recipes work on other machines
The recipe in question is:
# Keep home-dirs in sync
file { "/home/tim":
recurse => true,
source =>
2008 Jun 10
1
rsync --delete (but not all files) question
...s, but otherwise sync the two directories
exactly, erasing files that no longer appear in the source directory.
I am also using an --exclude-from file to remove emacs (~) backup files and
such things.
I have something like:
rsync -va --delete --exclude-from=$EXCLUDES_FILE --stats /var/www/mysite
remoteDirectory
I'm not sure how to use --delete and still keep certain files / dirs (those
.svn dirs).
Any help would be appreciate.
Thanks,
GMF.
--
View this message in context: http://www.nabble.com/rsync---delete-%28but-not-all-files%29-question-tp17751838p17751838.html
Sent from the Samba - rsync mai...