gyng / save-in

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

Dynamic submenus #87

Open lc-guy opened 5 years ago

lc-guy commented 5 years ago

Rather than having to enter the subfolders manually in the textarea, it would be nice if we were able to set an entry's submenus to be directly populated with all subfolders inside dynamically.

DanaMW commented 5 years ago

In some cases on one of my machines that would end up reading in an entire drive if it were allowed to do it itself. You only have to do it once at least and you can export it. and re-import it...

lc-guy commented 5 years ago

Could be an optional flag, then? With a "do not do this on root folders" warning.

DanaMW commented 5 years ago

lol there is always one of us dummies. :) it is a network issue on my machine allowing all the machines to get at certain bootup and config things.

gyng commented 5 years ago

I think it's not possible to do this with the web extensions API (if I'm understanding you correctly).

The best workaround I can think of is using tree -d share/ to generate one, but the syntax is different. I might see if I can support tree output, but it looks difficult unless tree has options to display output differently.

user@linux:~/win/Desktop$ tree -d share/
share/
├── 2k
│   └── JPEG
└── full