Results 1 to 5 of 5

Thread: How do I 'search' for files ?

  1. #1
    Join Date
    Sep 2005
    Location
    Benbrook Texas
    Beans
    767
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    How do I 'search' for files ?

    I am using 12.04 on my PC and do not seem to be able to search for files in the way that I did when I was using 11.04.

    Your help will be appreciated.
    Lewis.

    ******

  2. #2
    iMac71 is offline Gee! These Aren't Roasted!
    Join Date
    Dec 2012
    Beans
    166

    Re: How do I 'search' for files ?

    What was the way you used for searching files when you were using Natty Narwhal?
    And why don't you use the "find" command in a Terminal window for your searches?

  3. #3
    Join Date
    May 2009
    Location
    Fareham, UK
    Beans
    1,524
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do I 'search' for files ?

    The gui way: In the file browser (assuming you're using the default) Press ctrl+f and type a file name

    The terminal way:
    Code:
    find -name "file name"
    to search down from the current directory, use -iname instead to remove case sensitivity or see "man find" for more search options the * character acts as a wildcard for unknown characters
    Catch me on Freenode - imark

  4. #4
    Join Date
    Sep 2005
    Location
    Benbrook Texas
    Beans
    767
    Distro
    Ubuntu 11.10 Oneiric Ocelot

    Re: How do I 'search' for files ?

    Quote Originally Posted by CaptainMark View Post
    The gui way: In the file browser (assuming you're using the default) Press ctrl+f and type a file name

    The terminal way:
    Code:
    find -name "file name"
    to search down from the current directory, use -iname instead to remove case sensitivity or see "man find" for more search options the * character acts as a wildcard for unknown characters
    OK, I guess I could have explained myself a little better.

    What I am trying to find is my .dwg files, and they seem to have become scattered.

    TIA.
    Lewis.

    ******

  5. #5
    Join Date
    May 2009
    Location
    Fareham, UK
    Beans
    1,524
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: How do I 'search' for files ?

    in the terminal use this
    Code:
    find ~/ -iname *.dwg
    if you wan't to gather them back together use this
    Code:
    mkdir lost_files
    find ~/ -iname *.dwg -exec mv {} lost_files/ \;
    This will pull all the files ending in .dwg and place them into a folder named lost_files,

    I'm assuming all the dwg files are within your home directory, is this okay?
    Last edited by CaptainMark; February 6th, 2013 at 08:37 PM.
    Catch me on Freenode - imark

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
  •