Opened 20 years ago

Closed 19 years ago

Last modified 5 years ago

#7385 closed feature request (wontfix)

compress_san.exe multiple files

Reported by: SF/manny182 Owned by:
Priority: normal Component: Tools
Version: Keywords:
Cc: Game:


i was wondering if anyone could make this easier on a command line.

like: compress_san *.san* c:\san

or something that will do all of them at once, and put them in a directory of your choice, with the same as the original name.

or at least make this possible: compress_san *.san* *.sam*

so if will do them all as the original file names but with a slightly different extentsion you can rename afterwards.

but the main point is doing more than one file at a time so i don't have to keep on typing again and again.

If this is possible please enlighten me on it.

Ticket imported from: #1011866. Ticket imported from: feature-requests/201.

Change History (5)

comment:1 by sev-, 19 years ago

Best approach here would be to use batch files for compressing. File globs (*.san) is not a portable feature, so adding this to tools would bloat source code too much. As it is one-shot thing, i.e. you need to do it just once, adding this would be an overhead.

Batch files could be used both in Unix and Win32.

Fo windows XP write something like this:

for %i in (*.san) do compress %i %i.temp && mv %i.temp %i

That should save you typing.

comment:2 by aquadran, 19 years ago

Status: newclosed

comment:3 by aquadran, 19 years ago

Resolution: wontfix

comment:4 by aquadran, 19 years ago

"*.san" otion will not be supported

comment:5 by digitall, 5 years ago

Component: Tools
Note: See TracTickets for help on using tickets.