Is there a possibility to move marked files to new folders according to their endings?
e.g. several jpg, txt and exe are marked and then these are moved into newly created folders (txt, jpg, exe). or maybe jpg, png, bmp etc. in "Pictures" and txt, odt, doc in "Documents"? is it possible to realize this by (internal) commands?
thats my poor result....
is there a simpler way to rename jpg/png to Pictures\*.*
and txt/doc to Documents\*.*
and so on....?
or do I have to move all file extensions individually?
A rename script could use the file type group to do that.
If you want something easier to make (but maybe not as good), you could have a multi-line button where each line moves one extension into a specific directory, for the extensions you care about
It's not as good because you'd have to list each extension and the folder you want it to go into, instead of it being automatic.
(OTOH, it may also be better, if you want more control over exactly where things go and the names of the folders. Depends what you want and if it matches the file type groups that are already defined.)
I have now used the copy function - I found it more logical.
It works so far but I would like that all files are moved in the lister if no file is marked.... is that somehow possible?
and is the snippet so okay?
Copy MOVE FILTER *.(jpg|png) WHENEXISTS=rename HERE CREATEFOLDER "Bilder"
@filesonly
@ifsel unfortunately I have not been able to find in the documentation...
I want the command to be applied to all files when nothing is selected.
and if files were marked the command should be applied only to these marked.
My mistake, I was thinking of @disablenosel which won't do what you want. (It would disable the button entirely.)
At the moment, you may need to use scripting if you want a button which does different things depending on the selection. Should be quite a simple script, though. The default script shows how to do all/most of the things you'd need here, and we can help if needed.
If you know Javascript or VBScript already, it should be easy. Create a new button and set the Function drop-down to script mode, and you'll get a default script with examples of how to do a bunch of things.
If you don't know any scripting, or do but need help with part of it, let us know and we can assist.
and i don't see any possibility to activate the button in the internal commands - so that the files are moved depending on the selection.
Unfortunately I have no idea about these script languages....
doesn't the execution speed suffer from the languages then?
This is interpreted only when clicked or?
The speed of the languages doesn't really matter. They won't be doing much, and nothing time critical. Most of the time will be spent waiting for the filesystem to rename the files, no matter which method is used.
Now everything works great and as it should be. but would it also be possible to add subfolders?
e.g. create a subfolder named "Jpeg" in the Pictures folder and move the respective files there?