I want to do the following.
I want to copy from a remote FTP server every day certain files. This FTP directory is mounted. Every day a directory is created and within that directory I need 3 files of the 5
dir1
dir2
dir3
I want to copy every day the files with certain extensions to dir999
cp */*.img /dir999
But will that copy every day all files again ? as its a lot i only want to do the changes.
rsync
. There are dozens of questions like this here so you might want to examine them for a suitable duplicate rather than posting a new question. – tripleee May 30 '17 at 8:23