Skip to main content

Thread: Recursive update copy and then delete original file


every 12 hours have cron job runs

code:
cp -ru /media/mnt/* /media/recordings
i'm looking similar run every 6 months recursive update , delete files or folders older 30 days in /media/mnt/* path.

sorry if has been asked , easy looked @ man pages cp , rm neither have flags need , didn't find google, i'm asking wrong question.

in advance help.

still looking....


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [ubuntu] Recursive update copy and then delete original file


Ubuntu

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support