Forum Moderators: coopster
I'm not sure if I should do this using Shell or Php.
I will have the following structure
/dir/subdir/latest/
Every friday I want copy for each of the following directories
/dir/subdir/latest/
and move it to
/dir/subdir/todaysdate/
/dir/subdir/05_11_15/
/dir/subdir/05_11_08/
to keep an archive.
I'm trying to think if php would be best for this and have a cron setup to run the php script every friday etc or should I do it using Shell.
Any general thoughts appreciated.