| Author |
Message |
rmcellig
Joined: 19 Nov 2011 Posts: 734 Location: Ottawa Ontario Canada
|
Posted: Tue 17 Jan 2012, 06:48 Post subject:
How do you search for files in Puppy, GUI or CLI? |
|
In your daily Puppy workflow, what do you use to search for files and file content, the CLI, or the GUI solution? I'm just curious as to how Puppy users search in your day to day workflow. Being new to Puppy with limited cli use, I'm always looking the the best and most efficient ways to do things in Puppy.
I'm using puppy 5.2.8.
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Tue 17 Jan 2012, 10:15 Post subject:
|
|
I use Midnight Commander file manager as it has a search function built in.
If i recall in most standard pups there is a search gui in the Filesystem or Utility menu.
|
|
Back to top
|
|
 |
rmcellig
Joined: 19 Nov 2011 Posts: 734 Location: Ottawa Ontario Canada
|
Posted: Tue 17 Jan 2012, 10:20 Post subject:
|
|
Midnight Commander? I will have to take a look at that. Seems I tried that out some time ago.
Benny Hill fan?
I loved his stuff!
|
|
Back to top
|
|
 |
stu90

Joined: 25 Feb 2010 Posts: 1401 Location: England. Dell Inspiron 1501. Dpup
|
Posted: Tue 17 Jan 2012, 10:32 Post subject:
|
|
| rmcellig wrote: | Midnight Commander? I will have to take a look at that. Seems I tried that out some time ago.
Benny Hill fan?
I loved his stuff! |
Here is link to a puppy package for midnight commander:
http://www.murga-linux.com/puppy/viewtopic.php?t=51592
You use it in the terminal with mc command - it also has a text editor built in and a file transfer/progress dialog.
Can seem a bit 'geeky' and 'old school' at first, i know i wasn't sold straight away but nowadays if i want to manage files i i tend to use mc.
yes i like the old greats
|
|
Back to top
|
|
 |
technosaurus

Joined: 18 May 2008 Posts: 3843
|
Posted: Wed 18 Jan 2012, 00:22 Post subject:
|
|
I usually
find /usr -iname *file*
Or replace /usr with some other path
_________________ Puppy Web Desktop Now with pet packages - Pet Packaging 100 & 101
|
|
Back to top
|
|
 |
musher0

Joined: 04 Jan 2009 Posts: 2213 Location: Gatineau (Qc), Canada
|
Posted: Thu 19 Jan 2012, 03:51 Post subject:
|
|
Hello, rmcellig.
As for me, I use pfind. It's so handy that I added it to my desktop for quick searches. Also it can be launched from itself, which is very convenient if your first search did not find anything.
BFN.
_________________
"...l'industrie de l'informatique n'aura besoin que de très peu de temps pour ramener l'humanité aux dessins rupestres." (M. Goebbel, Order of the Command Line; [ma trad.])
|
|
Back to top
|
|
 |
rmcellig
Joined: 19 Nov 2011 Posts: 734 Location: Ottawa Ontario Canada
|
Posted: Thu 19 Jan 2012, 06:39 Post subject:
|
|
Can you search for text within files with pfind?
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Thu 19 Jan 2012, 10:05 Post subject:
|
|
| rmcellig wrote: | | Can you search for text within files with pfind? |
Yes
_________________ Stardust resources
|
|
Back to top
|
|
 |
rmcellig
Joined: 19 Nov 2011 Posts: 734 Location: Ottawa Ontario Canada
|
Posted: Thu 19 Jan 2012, 12:32 Post subject:
|
|
I found it but it says that searching text is slow. Does pfind not build a database for faster searches?
|
|
Back to top
|
|
 |
firak
Joined: 14 Apr 2008 Posts: 156
|
Posted: Thu 19 Jan 2012, 13:37 Post subject:
|
|
| rmcellig wrote: | | I found it but it says that searching text is slow. Does pfind not build a database for faster searches? |
DocFetcher 1.0.3
http://www.murga-linux.com/puppy/viewtopic.php?t=74914
Is not a really a puppy staff, but in woks on puppy.
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Fri 20 Jan 2012, 12:06 Post subject:
|
|
| rmcellig wrote: | | I found it but it says that searching text is slow. Does pfind not build a database for faster searches? | No dbase feature in Pfind, but there is a nice pick that I use 'all' the time to speed up text-search: Right-click on the directory in Rox and choose 'Search with Pfind in this dir' (or something like that). Searching for textstrings in all you files IS slow (if not using tools like Beagle). Search utilities that builds their own db has never reached Puppy. - Obviously because of their resource hunger.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
postfs1

Joined: 27 Mar 2010 Posts: 831
|
Posted: Wed 25 Jan 2012, 05:31 Post subject:
Re: How do you search for files in Puppy, GUI or CLI? |
|
| rmcellig wrote: |
How do you search for files in Puppy, GUI or CLI?
|
I use such a programs:
1)find
Examples:
#To find a file which has a permission to be launched:
find /usr -type f -executable -name *viewnior* /usr/bin/viewnior
#To find a files which have the particular text inside:
find /usr -type f -exec grep -i 'buying' {} \; -print
<td style="vertical-align: top;"><big>Download Puppy. Or, if on dialup consider buying a CD.</big><br>
/usr/share/doc/home.htm
#To find particular file in DEB files:
find /mnt/sr0/_Files/GParted/Ubuntu-Karmic_files -type f -exec dpkg-deb --contents {} \; -print|sed -n '/libparted-1.8.so.12/,/.deb/p'|sed '/libparted-1.8.so.12/b;/.deb/b;d'
-rw-r--r-- root/root 466172 2009-10-05 11:25 ./lib/libparted-1.8.so.12.0.0
lrwxrwxrwx root/root 0 2009-10-05 11:25 ./lib/libparted-1.8.so.12 -> libparted-1.8.so.12.0.0
/mnt/sr0/_Files/GParted/Ubuntu-Karmic_files/libparted1.8-12_1.8.8.git.2009.06.03-1ubuntu6_i386.deb
#To find particular file in RPM files:
find /mnt/sr0/_Files/K3b-1.0.5--fc11/Fedora-11_files -type f -exec rpm -qpl {} \; -print|sed -n '/libtinfo.so.5/,/.rpm/p'|sed '/libtinfo.so.5/b;/.rpm/b;d'
/lib/libtinfo.so.5
/lib/libtinfo.so.5.7
/mnt/sr0/_Files/K3b-1.0.5--fc11/Fedora-11_files/ncurses-libs-5.7-2.20090207.fc11.i586.rpm
2)grep -l -x "MULTISESSION CD/DVD NOTE:" /archive/* /archive/README-archive.txt
3)which viewnior /usr/bin/viewnior
4)ldd -v /usr/bin/viewnior INFORMATION
5)Midnight Commander. The example is here:
| Quote: |
http://www.murga-linux.com/puppy/viewtopic.php?p=455237#455237
|
_________________
- I don't know why laboratories are named a hospitals.
- The alive personage is like a tea bag with granules of unknown density inside, at that one the packet was made of organic material and was placed in the evaporated liquid or liquid.
|
|
Back to top
|
|
 |
|