Presentation Screenshots Download Support Development Forum    
   

Welcome to the Community Forum.

Here you can discuss with other users or with the author, suggest new features, report bugs, ask for filters creation or correction, etc. Select the forum you wish to read or post below :

Forum
Forum > Filters repository > Automatically creating folders

Pages : [1] Add a reply
User info Automatically creating folders
oginz
Avatar
Jun 6 2011, 9:22 pm
Hi there, I personally love this neat little addon and thought I would try to use the full capacity of it.

My plan was to create subfolders for each "group" of files, be it .rar or .jpg depending on the name/numbers of it.
After some fails I felt like I needed help.

For example if the picture name is ..?.(gallery number/name).(picture number/name).jpg
How do I make it take out the gallery number/name and use it to create a subfolder.

PS: Im using down it all if that matters
Post #1
Edit
Cyan
Avatar
Jun 7 2011, 11:57 am
Hi,

With a real picture and download path example, it would be easier to create the filter.
I'll try to make one with what you told me.

First, about that part:
..?.(gallery number/name).(picture number/name).jpg

- Is the question mark part of the download path?
- Is there really a point after the question mark?
- Are these two characters alway a part of the download path?

If "?." is alway a part of the download, we can use this as a reference in our filter.

Filters Domain
All    
= Regexp.
File name
All    
= Regexp.
Local folder



The filter will be triggered when you download a file containing ".jpg" and when the hosted path (domain) contains the mask you defined:

- anything followed by "?." (our reference)
- followed by anything up to a point, and we use parentheses to capture the value, it will be referred to as $1d
- followed by a point
- followed by anything as long as it's not a point, and we use parentheses to capture the value, it will be referred to as $2d
- followed by .jpg

Go to dynamic folder tab and enable the checkbox.

Go to preferences, options, page 2
set the first option to 1,3
1 = check the domain name
3 = check the full path + filename + file extension of the downloaded file.

If "1" fails, it will try "3".



If you need more detailed informations, tell me which step you didn't understand.

Maybe you will need to use regular expression, depending on all the files you want to filter.
If you can, I would like real examples of the files you are downloading.




Post #2
Edit / Delete
Pages : [1] Add a reply

Return to top