|
|
|
 |

January 26th, 2005, 01:17 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
OT: Archive Utilities
Anyone know of a good (free) archiving program that I could use to archive only the *.txt files in a specified folder (and all subfolders) automatically, without having to manually delete non *.txt files after making the archive? Preferably it would be able to create the files in RAR format rather than crappy ZIP or some arcane format...
|

January 26th, 2005, 01:49 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
|
|
Re: OT: Archive Utilities
Rar it from the commandline?
Rar text.rar -a *.txt
...or somesuch...
__________________
Things you want:
|

January 26th, 2005, 01:53 AM
|
 |
Major
|
|
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Archive Utilities
WinRar can do this. Right-click the folder you want to archive, and select "Add to archive..." Go to the files tab, and in the "Files to add" field, append "\*.txt" to the path of the folder, without the quotes. Set any other options you want, and click ok.
|

January 26th, 2005, 05:13 AM
|
 |
Shrapnel Fanatic
|
|
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
|
|
Re: OT: Archive Utilities
WinRar does not save the folder properly... If I use such a file string:
"C:\blah\dummy\*.txt" "C:\blah\dummy\*.html"
The archive created will not include the "dummy" folder, but only the folders and files inside it. This behavior is wrong (especially compared to how WinRar normally would include the dummy folder if I did not play around with the files string...) and extremely annoying.
|

January 26th, 2005, 06:50 AM
|
Sergeant
|
|
Join Date: Sep 2004
Location: Belgium
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Archive Utilities
see the winrar help, it can definetly do this, work with include and exclude filed, I use winrar for all my backups
Example include file:
D:\My Documents\School\*.*
D:\Cobol\*.*
With the corresponding exclude file:
D:\My Documents\School\archief
D:\My Documents\School\Java\Oefeningen\*.class
D:\My Documents\School\Temp working directory
D:\Cobol\*.exe
D:\Cobol\*.OBJ
D:\My Documents\School\OOAD\*.pdf
|

January 26th, 2005, 10:30 AM
|
 |
Major
|
|
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Re: OT: Archive Utilities
Quote:
Imperator Fyron said:
WinRar does not save the folder properly... If I use such a file string:
"C:\blah\dummy\*.txt" "C:\blah\dummy\*.html"
The archive created will not include the "dummy" folder, but only the folders and files inside it. This behavior is wrong (especially compared to how WinRar normally would include the dummy folder if I did not play around with the files string...) and extremely annoying.
|
So start one level up and use the files to exclude field. Even with a huge amount of stuff in the superfolder, it can all be excluded quickly with the append button, ctrl-A for select all, and ctrl-click to deselect the folder you want.
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
|
|