Looking to purchase this software but need to ensure it can perform the following via command line
1. Scan directory and subfolders
2. Locate any duplicate filenames above 20mb in size
3. Auto delete all the oldest duplicate filename and keep only the newest.
ie:
sample.txt date created 23/06/2016 size: 10mb
sample.mkv date created 22/06/2016 size: 10gb
sample.mp4 date created 20/06/2016 size: 20gb
sample.avi date created 18/06/2016 size: 15gb
I need the software to delete the "sample.mp4 and sample.avi" file.
Can this be achieved with the pro version?
Scheduled task to delete duplicates by filename
Re: Scheduled task to delete duplicates by filename
It would seem yes.
Command Line Parameters (Pro)
And I guess ideally you would use the /p parameter to specify a "profile" (storing your wanted settings) to run.
Says there is 15 day trial. You can try out all the features, but there is a restriction on deleting files.
While I have "run" Duplicate Cleaner from the command line, I haven't actually "used" it in that manner (i.e. used it to see that it would work in a manner that I would expect).
I'd want to be sure it only scanned the particular directory tree I passed to it from the command line - not any others.
That it will scan with my wanted settings - not any settings from a "GUI run".
That I can differentiate between opening the DC GUI directly & settings it may use, & that I can open DC from the command line with a different set of settings that I want it to use, with one being independent of the other, even if that means having two separate installs of DC where one is for opening the GUI itself, & the other is for starting from the command line (batch file or whatever). Can that be done?
I'd have to see how those kinds of things work out.
Command Line Parameters (Pro)
And I guess ideally you would use the /p parameter to specify a "profile" (storing your wanted settings) to run.
Says there is 15 day trial. You can try out all the features, but there is a restriction on deleting files.
While I have "run" Duplicate Cleaner from the command line, I haven't actually "used" it in that manner (i.e. used it to see that it would work in a manner that I would expect).
I'd want to be sure it only scanned the particular directory tree I passed to it from the command line - not any others.
That it will scan with my wanted settings - not any settings from a "GUI run".
That I can differentiate between opening the DC GUI directly & settings it may use, & that I can open DC from the command line with a different set of settings that I want it to use, with one being independent of the other, even if that means having two separate installs of DC where one is for opening the GUI itself, & the other is for starting from the command line (batch file or whatever). Can that be done?
I'd have to see how those kinds of things work out.
Re: Scheduled task to delete duplicates by filename
> 1. Scan directory and subfolders
Directory gets passed with /i parameter.
Subdirectories? I've got to assume that it will default to Yes (scan subfolders)?
> 2. Locate any duplicate filenames above 20mb in size
Size filter would handle that.
> 3. Auto delete all the oldest duplicate filename and keep only the newest.
/a parameter should start the scan automatically.
/c parameter should close DC automatically.
Is the actual Selection Mode & File removal, is that part automated, saved as part of the "profile", or will you need to actually interact with that?
"oldest" you can do, but what if in addition to oldest, you also have multiple same date/time newer, are those multiple "newers" left & only the oldest removed?
Not sure offhand?
Directory gets passed with /i parameter.
Subdirectories? I've got to assume that it will default to Yes (scan subfolders)?
> 2. Locate any duplicate filenames above 20mb in size
Size filter would handle that.
> 3. Auto delete all the oldest duplicate filename and keep only the newest.
/a parameter should start the scan automatically.
/c parameter should close DC automatically.
Hmm... ?delete all the oldest duplicate filename and keep only the newest
Is the actual Selection Mode & File removal, is that part automated, saved as part of the "profile", or will you need to actually interact with that?
"oldest" you can do, but what if in addition to oldest, you also have multiple same date/time newer, are those multiple "newers" left & only the oldest removed?
Not sure offhand?
Re: Scheduled task to delete duplicates by filename
Cheers buddy. Would love to try this but left it too late and trial period has expired. Is there any way to get an additional day trial? :)
- DigitalVolcano
- Site Admin
- Posts: 1864
- Joined: Thu Jun 09, 2011 10:04 am
Re: Scheduled task to delete duplicates by filename
You can't currently select (selection assistant) and delete files from the command line. As of version 4.0.1 you can only automatically run a scan and export the results.
Adding the select/delete functionality from the command line is on the development list, but I can't give you a date for that yet.
Adding the select/delete functionality from the command line is on the development list, but I can't give you a date for that yet.
Re: Scheduled task to delete duplicates by filename
If you don't need the GUI part or all the functionality DC provides, this command-line tool, FSF, might meet your needs.
Re: Scheduled task to delete duplicates by filename
FSF looks perfect. I'll give that a go, cheers!
Re: Scheduled task to delete duplicates by filename
Just tried it out, looks really good, only issue is that it doesn't recognize extensions as dup files.