[softwarelist] Re: SparkFS batch processing

In message <bde44f784e.malcolm@xxxxxxxxxxxxxxxxxxx>
          Malcolm Cowell <malcolm@xxxxxxxxxxxxxxxxxxx> wrote:

> With SparkFS 1.41 is there a way of unzipping a batch of xxx/zip files
> and have the unzipped files placed in a directory (or even alongside
> the zipped versions as David has kindly reminded me happens with
> GZips)
> 
> At present I can drag the batch to SparkFS but they all open in lots
> of separate windows on screen. There may be a none-SparkFS way of
> automating this?

SparkFS is a filing system, so you can unzip files using a simple 
operating system *Copy command without using the user interface at 
all. For instance, if the Zip files are xxx/zip and yyy/zip and you 
want their contents in the directory Dir, then an Obey file with the 
following contents will do it:

copy <path1>.xxx/zip.* <path3>.Dir.* r~v~c
copy <path2>.yyy/zip.* <path3>.Dir.* r~v~c

Similarly for more files. If you want to unzip a complete directory 
full of zip files, all into the same place, you can do so using the 
Repeat command (but that requires a trick because Repeat puts the 
filename at the end of the command, and copy wants the source as first 
parameter - you need to define an intermediate alias that takes one 
parameter and puts it in the right place for the copy command).

Martin
-- 
---------------------------------------------------------------------
Martin Wuerthner          MW Software          martin@xxxxxxxxxxxxxxx
---------------------------------------------------------------------

Other related posts: