Best Practices for extracting then deleting archives after
Posted: 09 Apr 2020, 18:01
Let's assume I have a bunch of folders in my "Movies to Process" directory. Some of these are archives (.rar or .zip) some are not. I do not know how many of each I have, but the total number of folders necessitates some automation.
I know if I use the GUI, I can load all folders in Filter/Archives then Extract All to the directory of my choosing. But this won't delete the archives (or more importantly, their parent folders), so I will have to load these in the Rename section of the GUI as well. Filebot seems to want to rename the .r01, .r02, .r03 files in addition to the, say, .mkv file for the movie.
If I wanted to use the CLI first, I could use
Or call the extract.groovy script, doing the same thing. But even if I use the script, using something like doesn't seem to work in the CLI. That's probably obvious but I can't see how to use it at the command line.
There might be a way to use 7-zip for the extraction portion instead. Something like is shown here:
Maybe that is the way to go? Maybe I'm doing something wrong in the gui that makes it want to name the .rar files? Maybe I would be better off using AMC to do everything? (I'll be honest I've never gotten the hang of the AMC script)
I know if I use the GUI, I can load all folders in Filter/Archives then Extract All to the directory of my choosing. But this won't delete the archives (or more importantly, their parent folders), so I will have to load these in the Rename section of the GUI as well. Filebot seems to want to rename the .r01, .r02, .r03 files in addition to the, say, .mkv file for the movie.
If I wanted to use the CLI first, I could use
Code: Select all
filebot -extract -r "Movies/to/Process" --output "Directory/of/my/choosing"
Code: Select all
--def deleteAfterExtract=y
There might be a way to use 7-zip for the extraction portion instead. Something like is shown here:
Code: Select all
https://superuser.com/questions/371384/extract-all-zips-in-a-directory-incl-subfolders-with-a-bat-file-or-dos-comm