Copy files with cron
Hi
I am trying to figure out how to copy all the files and directories in one directory to another directory, over writing all of them. I want to set this up in cron, but all my attempts have failed with the cp command. I can get other things to work in cron, but not this. It has been a very long time since I had to do this and I can not remember how to use the cp command to do the copying. Once this is solved, my Next problem is to load a database from a sql file with phpmyadmin and cron. Thanks in advance. Greg |
The man pages are wonderful. Try man cp, you'll find all the answers you need.
|
All times are GMT -5. The time now is 05:00 AM. |