This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Right Click> New Folder with Selection?

Tags: None
(comma "," separated)
User avatar
sammuirhead
Registered Member
Posts
162
Karma
1
OS
Is there any way to select multiple items in Dolphin, and then create a new folder from that selection?
I have been looking for a solution to this in the documentation and online but all I've found so far is an old (rejected) pull request.
I used to use this functionality all the time in Nautilus (Unity) and Finder (OSX) but I can't find a workaround for Dolphin so far.


http://www.cameralibre.cc
Free Culture videos made with Free/Libre/Open Source Software about Open Hardware, Open Data, Open Everything
luebking
Karma
0
You can add random contextmenu entries by putting a desktop service file into the "ServiceMenus" dubdir in one of the service file paths (check kde4-config --path services, res. kf5-config --path services)

Should look like
Code: Select all
[Desktop Entry]
Type=Service
ServiceTypes=all/allfiles
MimeType=all/all;
Actions=FileInfo
X-KDE-Priority=TopLevel
X-KDE-ServiceTypes=KonqPopupMenu/Plugin

[Desktop Action FileInfo]
Name=Create Folder from Selection
Exec=movetosubdir.sh %F


movetosubdir.sh would be a script that invokes eg. kdialog to get a directory name - either relatve or absolute? - looks up the basename of one of the paramters (in the relative case), creates the dir there and copies/moves (preference? fallback solutions?) all files (script paramters) there.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], rockscient, Yahoo [Bot]