This is somewhat an offshoot of the presumed zip file caching issue I raised the other day and partly a desire to make my life easier. I finally settled on copying the zip files to the target directory and unzipping them in place, then deleting the zip files. It's a bit awkward and slow, especially since the target is across the network, but I can live with it.
Now I'd like to add some automation to the whole procedure. I've given this some thought and I think the steps will work, I just don't know how to do them with Opus commands. Maybe you script gurus can help.
- Create a subdirectory in the dest lister. The name doesn't matter (because we're going to change it later).
- Copy the selected files from the source to the newly created subdirectory.
- Select the files in the new subdirectory and unzip them in place (i.e. to the same directory).
- Delete the zip files. It is not anticipated that any of the zips will contain other zips, so deleting *.zip in the new subdirectory should be sufficient.
- Rename the newly created subdirectory using a substring from the name of the first file in the directory. (I'll have to tweak the substring part. For now let's just say use the first 15 characters of the filename as the new directory name.)
- Delete the originally selected files in the source lister.
Is this possible?