Visit Jeremy's Blog.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

KDE hidden command line tools

Posted 09-17-2015 at 02:03 PM by the dsc
Updated 09-24-2015 at 08:02 PM by the dsc

Haven't checked yet, posting as a "shared bookmark" and to myself:

I'm particularly interested in "kde-move". I've actually came up with bash-script approximations to the functionality of auto-renaming the moved files when the target directory has files with the same file names, but I've only made something that just does that by default, whereas KDE can do that but also allows one to compare and rename, skip or overwrite in a case-by case, with even thumbnail previews in the case of images and possibly PDFs and videos, even though it seems KDE has deprecated PDF preview thumbnails recently.

Also interesting is kdialog as a replecement for GTK3 zenity and its weird standards -- directory selection leaves the directories behind and focus on files, and I don't quite get how it decides which recent folders are recent enough to be shown in the recent list. Those are in a drop-down menu on a field you can actually just type the folder location, on kdialog. Probably more in a literal last-used sequence, rather than some let-me-guess-your-favorites vodoo.

Frustratingly, there is kde-mv and kde-cp, but no "kde-ln", or even an "ln" kioclient command. I'd think it's something that would be almost an "automatic" thing, like they all being "secretly" the same wrap-around to a more basic command that is the only thing that really changes.

Nevertheless, a "kde-ln" can be faked with the creation of symbolic links in a temporary folder, say, /dev/shm/kde-ln$$, followed by kde-mv /dev/shm/kde-ln$$/* $destination-dir. And rm -rf /dev/shm/kde-ln$$/*.
Posted in Uncategorized
Views 1397 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 05:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration