.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
World Supremacy- Save $10.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old January 26th, 2005, 01:17 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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...
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #2  
Old January 26th, 2005, 01:49 AM
Suicide Junkie's Avatar
Suicide Junkie Suicide Junkie is offline
Shrapnel Fanatic
 
Join Date: Feb 2001
Location: Waterloo, Ontario, Canada
Posts: 11,451
Thanks: 1
Thanked 4 Times in 4 Posts
Suicide Junkie is on a distinguished road
Default Re: OT: Archive Utilities

Rar it from the commandline?

Rar text.rar -a *.txt
...or somesuch...
Reply With Quote
  #3  
Old January 26th, 2005, 01:53 AM
douglas's Avatar

douglas douglas is offline
Major
 
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
douglas is on a distinguished road
Default 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.
Reply With Quote
  #4  
Old January 26th, 2005, 05:13 AM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default 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.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
  #5  
Old January 26th, 2005, 06:50 AM

boran_blok boran_blok is offline
Sergeant
 
Join Date: Sep 2004
Location: Belgium
Posts: 222
Thanks: 0
Thanked 0 Times in 0 Posts
boran_blok is on a distinguished road
Default 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
Reply With Quote
  #6  
Old January 26th, 2005, 10:30 AM
douglas's Avatar

douglas douglas is offline
Major
 
Join Date: Apr 2004
Location: Atlanta, Georgia
Posts: 1,152
Thanks: 0
Thanked 0 Times in 0 Posts
douglas is on a distinguished road
Default 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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 02:05 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.