For the life of me, I must be losing it because I can't figure this out, or find anything on it. I'm sure it's easy, but I'm asking for help now!
I have a script that copies my documents to a folder every night on a second hard drive, for backup reasons.
I want to set the script up so that once a month it renames the folder. This will give me a clean backup of the my documents folder and not include all the junk I don't need. When the old folder is renamed, I will still have access to old stuff I deleted in case I need it.
Anyway, I can't figure out how to rename the folder through command line! I'm sure I'm just doing something wrong.
If anyone knows how to rename a folder through command line, I would appreciate the help.
Otherwise, if there is an easy command that would allow syncing between two folders, that would work as well.
I don't want to delete the backup my documents folder every night, because it has about 4 gig of pictures in it that I don't want to wait for to copy every night. Currently the backup script does an initial copy, and then only copies files that have a changed "Modified" date on them, or any new files that are added.
Thanks!
I have a script that copies my documents to a folder every night on a second hard drive, for backup reasons.
I want to set the script up so that once a month it renames the folder. This will give me a clean backup of the my documents folder and not include all the junk I don't need. When the old folder is renamed, I will still have access to old stuff I deleted in case I need it.
Anyway, I can't figure out how to rename the folder through command line! I'm sure I'm just doing something wrong.
If anyone knows how to rename a folder through command line, I would appreciate the help.
Otherwise, if there is an easy command that would allow syncing between two folders, that would work as well.
I don't want to delete the backup my documents folder every night, because it has about 4 gig of pictures in it that I don't want to wait for to copy every night. Currently the backup script does an initial copy, and then only copies files that have a changed "Modified" date on them, or any new files that are added.
Thanks!