Forums before death by AOL, social media and spammers... "We can't have nice things"
|    alt.os.linux    |    Getting to be as bloated as Windows!    |    107,822 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 107,588 of 107,822    |
|    Java Jive to All    |
|    rsync Question    |
|    21 Oct 25 14:04:40    |
      XPost: uk.comp.os.linux       From: java@evij.com.invalid              Having made a slight cock-up, I want to use rsync to move all the files       that exist on one server but not the other into a separate heirarchy.              More fully:              I have two identical servers, the second of which rsyncs itself from the       other overnight. This morning, due to an oversight, I put a load of       files into a directory structure that were intended to go into a       subfolder of it. What I want to do is rsync from the second server to       the first and move files that only exist on the first into a directory       tree elsewhere on the server, so that then I can move that extraneous       tree back into the originally intended subfolder. Something like this:              rsync [usual options] --backupdir=/LocalRoot/Elsewhere       rsync://user@second/BackUp/TBD/ /LocalRoot/BackUp/TBD/              mv /LocalRoot/Elsewhere /LocalRoot/BackUp/TBD/              However, when I tried the first rsync step with the -n switch to see       what would most likely happen, nothing happened until I added a --delete       option, then a load of 'deleting ...' messages for the relevant files       were printed, but I don't want to actually delete them, I want to move       them to their corresponding position in a new & separate tree under       Elsewhere.              I presume that the delete messages mean that the extra files will       actually be deleted not moved, so how can I get them to be moved?              --              Fake news kills!              I may be contacted via the contact address given on my website:       www.macfh.co.uk              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca