gyng / save-in

WebExtension for saving media, links, or selections into user-defined directories
MIT License
201 stars 25 forks source link

[Request]Please add this feature. #105

Closed lsz7575 closed 5 years ago

lsz7575 commented 5 years ago

Renaming downloads

cat.jpg -> :day_cat.jpg cat.jpg -> 2019_01_28_cat.jpg

Thank you

gyng commented 5 years ago

This should be already supported, try

filename: .*
into: :year:_:month:_:day:_:filename:

If you want different rules for matching files, try using comment:

Menus

pictures/cats // daycat
pictures/cats // yearcat

Rules

filename: .*
comment: daycat
into: :day:_:filename:

filename: .*
comment: yearcat
into: :year:_:month:_:day:_:filename:
gyng commented 5 years ago

Closing this issue, please reopen if you need help still.