RSS

Tag Archives: Dolphin

Terminal vs. GUI for moving large number of files…

I recently learned that my daughter had a very large pile of family imagesĀ  from 2004/2005 stored on her external hard drive that were not in my collection. She allowed me to copy them onto my computer. My collection went from 14,000+ to almost 24,000! I’m already enjoying “new” memories, as I have my screensaver set to random image slideshow mode.

I discovered, however, that Dolphin does not deal well with folders containing thousands of images. Every click, every selection, every move seems to take an extraordinarily long time, especially if you forget to disable “preview.” Because of this, I decided to move the images in my 2004 and 2005 folders into “2004-Q1, 2004-Q2, etc.”, to reduce the number of files Dolphin has to think about at one time.

To do this in Dolphin usingĀ  drag and drop, you have to select the images from January to March, drag them over into the new folder, and WAIT for 10 or 20 minutes while it thinks, crunches numbers and filenames, or whatever it is doing.

To do this in Dolphin using the terminal panel (View>Panels>Terminal, or simply press F4) did the same thing in less than a second, using the following command (assuming I have clicked in the source folder in Dolphin’s GUI, as that will “cd” me into it down in the terminal panel):

mv * /home/les/Pictures/JPGs/2004-Q4

This was, of course, after I had already moved out the images from Q1-Q3 using the GUI.

Question: With my image file names like this: 4 digit year-two digit month-two digit day (e.g. 2004-09-23), how might I have structured this command to move the files from January to March into folder /home/les/Pictures/JPGs/2004-Q1?

Advertisements
 
Leave a comment

Posted by on June 26, 2009 in Uncategorized

 

Tags: , , , , , , ,

Add “edit as root” to Dolphin’s right-click menu…

Continuing to tweak my Fedora 10 installation:

I discovered that the Dolphin file manager has no “edit as root” in the right-click service menu. This is a necessary tool. A little googling provided this fix:

Open Kwrite

In the new, blank document, paste this code:

Code:
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin,text/*,application/x-desktop
Actions=Editassu

[Desktop Action Editassu]
Name=Edit as Root
Name[it]=Edita come Root
Name[fr]=Editer en tant que Root
Name[es]=Editar como Root
Name[de]=Als root bearbeiten
Icon=kfm
Exec=kdesu “kwrite” “%U”

Save the file with a useful name such as “editasroot.desktop” in the following directory:

/home/(username)/.kde/share/kde4/services/ServiceMenus/

Restart Dolphin and enjoy. Thanks to neverendingo at kdeforums.org!

 
6 Comments

Posted by on December 12, 2008 in Uncategorized

 

Tags: , , , , ,