RSS

Tag Archives: How-To

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: , , , , , , ,

The Jackalope has arrived… and it’s no myth.

The Jaunty Jackalope has now taken up residence in my computer… and has evicted all other tenants (including Windows Vista)

jackalope_card

I received my brand new 640 gig Western Digital black Caviar hard drive by UPS on April 23, the very same day that Ubuntu 9.04 “Jaunty Jackalope” became available for download. What else could I do but download and burn the new operating system to a live-CD, back up my data to an external hard drive, pull out the old 120 gig hard drive, install the new 640, and install the newest Ubuntu?

After retrieving my data from the external hard drive and downloading some of my favorite apps from Ubuntu’s repositories, I’m up and running with little or no hiccups along the way.

One thing that smoothed the transition (for me) was that I got a little bit smarter about what to retrieve from the external hard drive. My pictures, documents, music, of course. But instead of copying the entire /home/les/ directory, which would pull in every last “.this and .that” folder I just pulled in .kde, .kde4, and the .<applicationname> directories of the applications for which I have made significant configuration changes, such as Gimp and Blender. Pulling in the .kde and .kde4 directories brought in all of my mail, calendar, and contacts, so I had ZERO configuration work to do for Kmail, Korganizer, and Kontact!

Compiz Fusion is working nicely. Songbird is working nicely. I’m liking the Jackalope!

 
Leave a comment

Posted by on May 2, 2009 in Uncategorized

 

Tags: , , , , , , , ,

Minimize Thunderbird to System Tray in Mepis 8

edit: be sure to read Paul’s comment! His way is easier. Thanks Paul!

After having recently moved all my mail to Thunderbird from Kmail, I was dismayed to discover that Thunderbird will not “minimize to tray,” meaning that I would get no new mail notifications and no “Lightning” calendar reminders without TB being open on the desktop or minimized to the taskbar. A little Googling provided the following answer.

  1. In Konsole, login as root and type the following: apt-get install alltray
  2. Find Thunderbird in the KDE menu and RIGHT click on it. Select “Edit Item.”
  3. The KDE Menu Editor will open. In the “Command” field, type the following: alltray -s -l thunderbird %u
  4. Click the save button on the KDE Menu Editor and close it.
  5. Start Thunderbird and follow the instructions that Alltray provides.
  6. Enjoy!

Thanks to Techthrob for this tip!

 
6 Comments

Posted by on October 22, 2008 in Uncategorized

 

Tags: , , , , ,

Migrating Your Kmail to Thunderbird

I have decided to quit Kmail and give Thunderbird a try. I’ve been wanting to do this for ages, but the process for moving mail from Kmail to Thunderbird is rather formidable. I will attempt to document my “method,” much of which I owe to the above linked blogger, TiJaJoMa, and the rest to the creator of the below linked import addon for Thunderbird.

1 ) I installed this add-on for Thunderbird… thanks, Kaosmos! (Click the download link at the bottom of the page, then in Thunderbird you’ll have to click “Tools -> Add-ons -> Install” and then navigate to the .xpi file… on mine it landed on the desktop).

2 ) My Kmail folders were maildir format, so within Kmail I had to do this for each folder:

  • For a folder named Family, I created a new folder named FamilyM or FamilyMbox or whatever. Make sure when you are creating the folder that you select the mbox format!
  • move all the mail from my original folder to the new one.
  • delete the old empty folder, just to avoid confusion

3 ) After all the folders were converted to mbox format I chose to leave them with the temporary name (e.g. FamilyM), so as to make them easy to identify in the next step.

4 ) I created a folder on my desktop called “TempMail.”

5 ) Using the Konqueror file manager to navigate to /home/les/.kde/share/apps/kmail/mail, I copied all the “.Whatever.directory” folders into the new TempMail directory on the desktop.

6 ) In the new TempMail directory, I deleted the “.” from the beginning of each of these folder names, so they would be visible to the importer script.

7 ) In Thunderbird, I created a new folder named Family (or Whatever) by right clicking on “Local Folders” in the folder tree, and selecting “New Folder”

8 ) Then I right-clicked on the new folder just created, selected “Import/Export,” and “import mbox file,” then “Select a directory where searching the mbox files to import.” (Italian English?)

9 ) A box opened where I had to navigate to the TempMail folder on my desktop, and select one of the “Whatever.directory” files therein, and click “Open.”

10 ) I then was asked “Do you want to import the file /home/les/Desktop/TempMail/Whatever?
I clicked “Yes!” and guess what? It worked!

11) Finally it was time to rename all the new Thunderbird folders, because the importer script adds a random 3 digit number to the folder name, to avoid the possibility of overwriting an existing mail folder.

Whew! I know this is going to be automated someday! I hope this helps someone. Let me know if it needs clarification.

 
2 Comments

Posted by on October 8, 2008 in Uncategorized

 

Tags: , , ,