Results 1 to 7 of 7

Thread: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

  1. #1
    Join Date
    Jun 2007
    Location
    The Mistake by the Lake
    Beans
    1,813

    Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    Choose the directory you want to clean out.
    Code:
    cd /path_to _folder_you_want_to_clean
    Code:
    find . -name *.ini -type f -print0 | xargs -0 /bin/rm
    finds and deletes all the .ini
    Code:
     find . -name *.db -type f -print0 | xargs -0 /bin/rm
    finds and deletes all the .db
    Last edited by swoll1980; April 30th, 2009 at 11:54 PM.
    Quote Originally Posted by Homer J. Simpson
    "Dinner is the perfect break between work, and drunk."


  2. #2
    Join Date
    Jun 2007
    Location
    The United States
    Beans
    518

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    Cool, XP via Virtualbox dumps crap in my home folder when I mount it as a network drive. This works well to get ride of these files.
    Desktop 1: Asus A8N-E | AMD Athlon +3200 | 2 GB Ram | Geforce 8500 | Windows XP
    Desktop 2: Soyo-KT600 | AMD Athlon +2600 | 768 MB Ram | Geforce 5200 | Ubuntu 10.04
    Netbook: Asus 1001P, Arch Linux

  3. #3
    Join Date
    Jun 2007
    Location
    The Mistake by the Lake
    Beans
    1,813

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    Quote Originally Posted by Dark Aspect View Post
    Cool, XP via Virtualbox dumps crap in my home folder when I mount it as a network drive. This works well to get ride of these files.
    You can also use
    Code:
    find . -name *.jpg -type f -print0 | xargs -0 /bin/rm
    To pull the album art out of your music folders. Make sure you change to you music directory first.
    Code:
     cd /path_to_your_music_folder
    Make sure your in the right folder
    Code:
    ls
    Then go ahead and execute the command
    WARNING!!! If your in the wrong directory you could delete all your photos
    Last edited by swoll1980; April 30th, 2009 at 10:41 PM.
    Quote Originally Posted by Homer J. Simpson
    "Dinner is the perfect break between work, and drunk."


  4. #4
    Join Date
    Jun 2007
    Location
    The Mistake by the Lake
    Beans
    1,813

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    I was was just thinking; If you have wine installed I wouldn't do it from your ~/ ,but rather pick specific folders you want to rid of .ini because the wine programs might need the .ini I'm not sure
    Quote Originally Posted by Homer J. Simpson
    "Dinner is the perfect break between work, and drunk."


  5. #5
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    And beware that f-spot keeps the photo info in a .db file in ~/.gnome2/f-spot/photos.db. Get rid of that and you will need to re-import all your photos again, along with all their tags.

  6. #6
    Join Date
    Sep 2007
    Beans
    Hidden!
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    Quote Originally Posted by ajgreeny View Post
    f-spot
    And Thunderbird, Firefox, Exaile.... that first command probably isn't the safest thing to run blindly.

  7. #7
    Join Date
    Jun 2007
    Location
    The Mistake by the Lake
    Beans
    1,813

    Re: Get rid of all those anoying .ini ,and .db Windows left in your files in 3 steps

    Yeah we should defiantly pick the directory we want to clean out, and not use ~/ I had know Idea Linux used all these Windowss files. Now I just have to ask why. The command does save a lot of time though. I cleaned out 100s and 100s of junk files in a few seconds.
    Last edited by swoll1980; April 30th, 2009 at 11:57 PM.
    Quote Originally Posted by Homer J. Simpson
    "Dinner is the perfect break between work, and drunk."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •