Copy archive files in Linux?
I'm trying to port everything I do in Windoze over to Linux. One job requires pulling modified files from the working copy of my web site and moving them into another folder ready to FTP with the correct directory structure. In DOS that would be:
xcopy *.* /m /s Is there anything like that that I can do in Linux? I don't see any switches in CP that addresses the archive flag. I'm running FC7 BTW. |
For the one who could actually answer this:
xcopy: Quote:
Quote:
|
Welcome to LQ.
I like your goal. As w/ many, if not most, things Linux there are many, perhaps too many, choices. Depending on how deep & complicated you want to get, Amanda & rsync may be worth looking at. Check them out on Wikipedia & through Google Linux. As you may have guessed, there is no archive bit in Linux. However the modification time "mtime" is tracked & available, as when you do ls -l. Also available is the inode change time, "ctime". Do not confuse it w/ MS' file create time. If you want to go deeper into Linux file time stamps, start here: Quote:
13.4 touch: Change file timestamps |
Have you made any progress?
Do you need more help? |
All times are GMT -5. The time now is 05:47 PM. |