Okay,
There seems to be a communication issue here because you are not providing us with enough information to help you out. Let me attempt to be more specific.
Quote:
Originally Posted by qutesanju I want to take backup of 6 month and ZIP all those files |
1. Do you want the backup to run daily? If so, this will end up with tons of zip files with only 1 day in it? Are you running it every 6 months to store that last 6 months worth of data? If this is it, this is not very efficient. Being very specific, let us know step by step.
Example:
I would like to have the backup run (daily, weekly, monthly, semi-annually, etc etc etc). There is 1 file from one computer in C:/testfolder every day. OR There are 15 files from 15 computers saved in C:/testfolder every day.
Step 1: I want for the backup program to read the file name and look at the date in the file name. The date will always be formatted in (2009-01-02, 2009-1-2, etc etc) OR The date will change from time to time. It could be (09-01-02, 09-1-2, etc etc)
Step 2: I would then like for it to take the file name and based upon that look for any files that are older than 6 months.
Step 3: So on and so on. The more specific the easier it is to help you.
Quote:
Originally Posted by qutesanju provided it should take date from file name Waste_2009-11-23_13540.csv |
2. We have established that you want to utilize the date in the name. Will the date in the name ALWAYS be in that format? Will the date be 2009-01-02 OR will the date be 2009-1-2 OR 09-01-02 OR 09-1-2 (I think you get my point).
Quote:
Originally Posted by qutesanju I'm using windows OS |
3. What Windows Version? XP Home, XP Pro, Vista Home Basic, Vista Home Premium, Vista Business, Win 7, Server 2003, Server 2003 small business, etc etc etc etc. You can find this information out by holding down the Windows Key on your keyboard and pushing the R key one time and letting up. This will bring up the Run dialogue box. Type in winver and push enter on your keyboard. (Windows Key is the key with the Microsoft Logo on it usually found in the lower left of the keyboard if you are on a desktop computer and can be in the upper right on a laptop computer) (Windows Key+R).
Quote:
Originally Posted by qutesanju pentazip is the software utility I'm using |
4. Do you know anything about Pentazip? Does it have command line parameters? If you don't know this answer, this is okay. However TheOutCaste was asking if you wanted to use command line switches for the Graphic User Interface or if you didn't care about that and wanted to use the command line version, if Pentazip even has one. Does it matter what program your using as long as it gets zipped. If not, then I believe we can utilize the one that comes with Windows based upon which version of Windows OS you are running asked above.
5. Where do you want the files backed up to?
(A folder on the same hard drive is NOT a good choice for a backup location)
Will it be an external drive?
Will this be a shared folder over a network, online storage?
Will this be a Flash or Thumb Drive or Memory Card?