I want to write a script that copys over a complete folder including the dirs to another
location.
However in the process I want to ignore several filetypse that SHOULD NOT get copied over.
I know Global Ignore is capable of make the copy command ignore one file type, however
I don't know how to get multiple file types ignored.
If this looks like what you want to do remove the --dry-run option to actually do the copy.
To do a move instead of copy you can use --del and --prune-empty-dirs . There are heaps of other options that control how rsync works so check the manual for other options you man want to consider.
assuming ignore list is created with ignore extensions on each line .. like suggested by Chubler_XL.. here is my take.. i directly writing here so there can be syntactical error.
Awesome suggestions ! Especially, because if a new to be ignored extension is needed I just need to change the txt file. THANKS both of you
Will try this ASAP.