I usually do rsync -n before doing an actual rsync. The thing is, how could I automate the second run to reuse exactly the list generated with --dry-run?I mean, if I run rsync -n then I get a simulation of what rsync would do, my idea would be to take that output, process it then somehow make rsync only --include-from that output, so the full list has to be calculated only once.If this doesn't even make sense, please, let me know.By the way, I tend to use rsync -hva --progress --stats --delete --exclude-from $EXCLUDEFILE. If you also have a suggestion on what options would you use, please, let me know. I'm trying to duplicate the contents of an external hard drive (that only contains images, videos and documents) to another external hard drive.
Reuse rsync --dry-run output
text processing;terminal;rsync