Le 11/01/2018 à 19:24, Bernhard Voelker a écrit :
TBH this sounds more like a one-time moving task rather than a regular sync.
only in part. I often notice than some files are duplicated so I can remove them without loss, I try to keep the same on archives
Of course, you can use rsync as part of the solution, but it would be interesting to understand more what you want to do.
split the source by dates, to make browsing the archives easier
Do you have a random, nested directory structure like
dir/a/file-from-2010 dir/a/file-from-2012 dir/a/x/file-from-2013 dir/b/c/file-from-2014 dir/file-from-2011
no, not there. I have a nested by date structure for the real "collections" (photos, videos), but not for the day to day files that are more fitted by other classification
I would like to use the --delete option, because I may remove old files on source
The --delete option does not delete on SRC side, but would remove files/directories on the DST side if the file does not exist on SRC side.
exactly. I often find duplicates an want to remove the from all archives (I have several copies of the archives, some older than others) the folder I want to archive I name "mes-documents" (my-docs in french) and I drop them where I need them. I would like to use rsync to sort them by date while keeping the directory structure. Say, I have somewhere a folder "taxes" and I want to archive them as taxes from 2000 to 2010 for example jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org