Move specific extention to specific folder after download is complete

~ 0 min
2015-11-02 09:48
Average rating 3.67 (3 Votes)

You can comment this FAQ

Gravatar
Stijn (2015-12-02 11:20)
I'm really interested in this as well, is it still possible with the current Chrome versions? show moreAnd a small tutorial would be very convenient.
Gravatar
Ryan (2016-04-20 19:54)
Looking into this a bit further, I see that the {r_done} reference doesn't quite work with show moresorting files into directories. Instead, you'll want to specify {r_downloading} instead. This way, as it downloads, it sorts the file into the appropriate directory. Simply replace the {r_done} with {r_downloading} for the default filetypes such as Images, Audio, Document, etc. Make sure they are marked as "Active", via the checkbox on the left column.
Gravatar
Jonathan (2018-02-01 20:00)
not quuite working for me. I can see that it picks up the rule, then initiate show morethe download according to the rule. However, at the end the file name is the original file name
Gravatar
Steph (2021-09-27 18:04)
I'm probably a few years too late, but here's the state of the extension right this show moreminute and what I've got so far:



For those wanting to use Chrono Download Manager to help manage their bulk downloads, the crux of how it works is that you need to specify within the application:

1. What files you're wanting to download

2. Where you'd like them to go



Yes, this is very obvious, but how you go about doing it via Chrono Download Manager is less-obvious unless you're already comfortable with a few computer-related topics that I won't delve into here.



The notes in the Chrome extensions page is that there is currently a bug whereby you cannot download to anywhere other than the default Downloads folder (or its subdirectories).



Therefore, you can to C:\Users\[yourname]\Downloads\eBooks\Unsorted, but you cannot download to, for example, C:\Users\[yourname]\Documents\eBooks\Unsorted



This is quite an annoying issue, but hey, it's better your downloads folder becomes a slightly more organised file sewer that you can then manage a bit easier.



However, I am not able to replicate this bug - it seems to be working fine for me! I tested this on Chrome version 93.0.4577.82 / Windows 10 (64-bit). For the sake of posterity (and scepticism in this lasting for an extended period of time), I'll include some extra details on this - just in case.



To get Chrono to direct your files to a particular folder on your computer, there's two ways you can do this:

1. Exclusively within the Rule System (easy, quick for scenarios with limited scope, but not recommended in the long run)

2. Split up the task via the Extension Filter AND the Rule System (preferred)



Method 1: Do it all within the Rule System

My recommendation is that you don't opt for this unless what you're doing either:

1. Involves the one (presumably unique) file extension

2. Is very limited in scope (i.e. it's a once-off that you don't plan on keeping around)



Steps:

1. In Chrono Download Manager Settings, click Rule System

2. Double-click on empty row to add new rule

3. Enter your display name

4. Enter your internal name (e.g. r_pdfDemo)

5. Enter your condition like so: *state*==[download]&&*ext*.is("pdf") -- note that file extensions must be surrounded by quotes

6. If you want it to be in a subfolder, enter your naming mask (i.e. where you want the file to go)

6a. If you want it to be in a subfolder of the Downloads folder, enter /YourFolderName

6b. If you want it to be anywhere else, set the naming mask to the full file path (e.g. C:/Users/[YourName]/Documents/UnsortedPDFs/*name*.*ext*)



Method 2: Split up the task via the Extension Filter AND the Rule System

Quick overview of this:

1. You need to specify what file(s) you're downloading that you'd like sorted in the Extensions section

2. You need to specify what to do with those files in the Rules section



The benefit of this is that you can manage your file extensions (i.e. what you want to download) separately to the rules (i.e. where you want to download it).



Select or Create your Extension Filters:

1. In Chrono Download Manager Settings, click Rule System

2. Double-click on empty row to add new Extension

3. Enter your display name

4. Enter your internal name (e.g. ext_ebook)

5. Enter your file extensions - if you want more than one, they should be separated by the pipe "|" character (e.g. epub|mobi)



Some custom extensions I've picked from my own as examples:

Display Name / Internal Name / File Extensions

CSV ext_csv csv

eBooks ext_ebook epub|mobi



Remember that you'll have to enable these!



Create your Rules in the Rule System:

1. In Chrono Download Manager Settings, click Rule System

2. Double-click on empty row to add new rule

3. Enter your display name (e.g. "Reroute eBooks")

4. Enter your internal name (e.g. "r_ebook")

5. Enter your condition(s) (e.g. "*state*==[download]&&*ext*.is([ext_ebook])")

6. Enter your naming mask (e.g. "C:/Users/steph/Documents/eBooks/Unsorted/*name*.*ext*" ) -- note these need to be with forward slashes (/) not backslashes (\) like you'd get from copying in Windows



Some custom download rules as examples (note I haven't tested all of these):

Multiple extension filters:

*state*==[download]&&*ext*.is([ext_ebook]|[ext_pdf])

URL has the word "ebook" in it:

*state*==[download]&&*url*.has("ebook")

Download task was added on Monday:

*state*==[download]&&*addtime*.is([mon])



Some custom naming masks for download folders (note I haven't tested all of these):

Uses or creates folder with name of host:

/*host*/*name*.*ext*

e.g. will create folder C:\Users\steph\Downloads\dl.humble.com

Uses or creates folder with title of the page:

/*page_title*/*name*.*ext*

e.g. will create folder C:\Users\steph\Downloads\Humble Book Bundle_ Essential Cookbooks by Williams Sonoma (pay what you want and help charity)

Uses or creates folder named after the year and month download occurs in:

/*y*-*m*/*name*.*ext*

e.g. will create folder C:\Users\steph\Downloads\2021-09



Some questions I thought might crop up:

If the folder does not exist, will it create the folder?

Yes!



Can you improve the ruless so they're a bit more human-readable/easier to maintain?

Sure can! An example - instead of "*state*==[download]&&*ext*.is([ext_ebook]) you can instead define an r_download rule (condition *state*==[download]) then reference it in your other rules so it would instead be "{r_download}&&*ext*.is([ext_ebook])". Note that you can use the existing {r_downloading} here if you wish.
Tags