2

On Ubuntu, is there any way to search for files on multiple hard disk partitions at once? I'd like to search the contents of all of my hard disk partitions at the same time, including my Windows partition and my Ubuntu partition.

2 Answers 2

4

All your hard discs are mounted somewhere (most likely under /media or otherwise under /mnt) so if you use find from command line at root level (/) or navigate to root level in Nautilus it will include your USB discs if they are mounted.

Linux can read NTFS so if you mounted the disc (example: mount -tntfs /dev/sdb1 /mnt) it will also search that disc.

The online manpage for find you can find here.

0

You can execute command 'find' in differnet terminal windows at the same time and giving location of each partition to each different find command.

see man find for details.

3
  • Do you mean that I should simply type the command separately into 3 different terminal windows, instead of using a single command to search within each partition at the same time? Dec 31, 2012 at 7:16
  • BTW, how many pages long is man find? Dec 31, 2012 at 7:17
  • 1
    this answser would be better if it included a bash script to replace the manual work.
    – don.joey
    Dec 31, 2012 at 7:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .