Answer the question
In order to leave comments, you need to log in
How to copy files with rename in Ubuntu?
the essence of the question is:
there is a folder /srv/share for which you need to backup to the folder /srv/backup
find /srv/share -type f -mtime -1 -print0 | xargs -n 1 -I % cp --parents % /srv/backup
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question