List ecs-isp@2rosenthals.com Arkiverade meddelande #698 | Tillbaks till lista |
|
---|
In <list-9452749@2rosenthals.com>, on 04/20/24
at 12:36 PM, "Massimo S." <ecs-isp@2rosenthals.com> said:
Hi Massimo,
source dir:
file1
file2
destination dir:
file20
file21
result after rscync in the destination dir:
file1
file2
file20
file21
at the moment i've this command:
rsync -hirpt --stats --delete
so i guess i should only remove "--delete" option, i'm i right?
It depends on exactly what you want the destination directory to contain.
If you want new and changed files to be updated at the destination
dropping --delete should give you what you want. The destination
directory will accumulate files until you delete them.
If you have some specific subset of files in the destination directory
that you want to avoid deleting then a protect filter is probably a better
solution.
Steven
Prenumerera: Sändning,
Uppsamling,
Index. Stoppa prenumeration Meddelande till ListMaster |