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.
KDE hidden command line tools
Haven't checked yet, posting as a "shared bookmark" and to myself:
http://www.bramschoenmakers.nl/node/610.html
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$$/*.
http://www.bramschoenmakers.nl/node/610.html
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$$/*.
Total Comments 0