Article 58DVM rsync - exclude a directory but include specific file(s) within that directory

rsync - exclude a directory but include specific file(s) within that directory

by
JavaMeister
from LinuxQuestions.org on (#58DVM)
I want to exclude a directory but/and include a specific file within that directory. Said another way, I want to exclude all the files in a specific directory but/and include (a) specific file(s) in that same directory. I would prefer to do this using exclude-from=exclude.txt and include-from=include.txt. Is this possible? What is the format of the command?latest?d=yIl2AUoC8zA latest?i=oW52MiTH7P8:CagPUOcOqM0:F7zBnMy latest?i=oW52MiTH7P8:CagPUOcOqM0:V_sGLiP latest?d=qj6IDK7rITs latest?i=oW52MiTH7P8:CagPUOcOqM0:gIN9vFwoW52MiTH7P8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments