Anyway here is my command line
"C:\Program Files\7-Zip\7z" a -tzip "\\server\Files.zip" -r c:\*.pdf c:\*.jpg c:\*.doc c:\*.docx c:\*.xls c:\*.xlsx c:\*.mp3 c:\*.rax c:\*.mov c:\*.wma c:\*.ppt c:\*.pptx c:\*.mdb c:\*.accdb c:\*.gif c:\*.efx c:\*.pst c:\*.nk2 c:\*.rdp c:\*.wav c:\*.zip c:\*.avi c:\*.qbw c:\*.qbb c:\*.ost c:\*.one c:\*.odt c:\*.ods c:\*.odp c:\*.odb c:\*.odg c:\*.odf c:\*.wmv c:\*.tax c:\*.bkfUPDATE 06/10/2011: Added new file extensions
Note that you can add any file types to suit your needs, my client only needed the above files. Modify as you see fit.
If you spot an error or a better way, please comment!
No comments:
Post a Comment