Move failed files to new location
Move failed files to new location
If my script to rename and move new shows fails on a particular file(s) for any reason, is it possible to, instead of doing nothing with it, moving it (un-renamed) to a new location? I'd like to have one place to look for misfits.
Re: Move failed files to new location

viewtopic.php?t=1868

viewtopic.php?t=215
Re: Move failed files to new location
This was what I needed. Thank you.rednoah wrote: ↑16 Dec 2021, 03:32If you're using the amc script, then you'll want to check out the --def unsorted parameter:
viewtopic.php?t=215
Re: Move failed files to new location
I hadn't had a chance to check in on things since I set --def unsorted to y until today. It hasn't been doing anything. The log clearly shows it as set to y, then fails to ID a file (multiple options), then behaves as if --def unsorted was set to n and does nothing. In one case I just tried, it not only didn't put the file into the unsorted folder, it deleted the temporary unrared file as if it had succeeded.
I am aware of using age which works well sometimes, and non-strict which in my experience is a bad idea. I'm fine with it not being 100% automated on every file, but I very much want the unsorted feature to work. I do not want to have to dig through 30 folders looking for the files that didn't ID.
I am aware of using age which works well sometimes, and non-strict which in my experience is a bad idea. I'm fine with it not being 100% automated on every file, but I very much want the unsorted feature to work. I do not want to have to dig through 30 folders looking for the files that didn't ID.
Re: Move failed files to new location
OdinTGE wrote: ↑06 Jan 2022, 20:49 I hadn't had a chance to check in on things since I set --def unsorted to y until today. It hasn't been doing anything. The log clearly shows it as set to y, then fails to ID a file (multiple options), then behaves as if --def unsorted was set to n and does nothing. In one case I just tried, it not only didn't put the file into the unsorted folder, it deleted the temporary unrared file as if it had succeeded.


viewtopic.php?t=12981
Re: Move failed files to new location
Code: Select all
Run script [fn:amc] at [Thu Jan 06 15:13:21 CST 2022]
Parameter: seriesFormat = F:/TV/{ny}/{ny} - Season {s00}/{ny} - {s00e00} - {t}
Parameter: seriesDB = TheTVDB
Parameter: ut_label = TV
Parameter: clean = y
Parameter: excludeList = amc.txt
Parameter: Unsorted = y
Argument[0]: F:\Torrents
Use excludes: F:\TV\amc.txt (92)
Code: Select all
Multiple Options: F:\Torrents\Chicago.Med.S07E10.720p.WEB.H264-PECULATE\chicago.med.s07e10.720p.web.h264-peculate\Chicago.Med.S07E10.720p.WEB.H264-PECULATE\Chicago.Med.S07E10.720p.WEB.H264-PECULATE.mkv: [Chicago Med, Chicago P.D.]
* Consider using -non-strict to enable advanced auto-selection
* Consider using --filter "id in [295640]" or --q "Chicago Med" to select one specific series
* Consider using --mode interactive to enable interactive mode
Failed to identify or process any files
Finished without processing any files
Abort (×_×)
Re: Move failed files to new location
Code: Select all
Parameter: Unsorted = y

Code: Select all
--def unsorted=y

viewtopic.php?t=3195