On Sat, Jan 14, 2012 at 07:59:21PM +0100, roberto wrote:
> Hello,
> i am looking for a file whose name i don't remember.
> I only know it has the extension ".cmap" and is inside my home folder.
> Which is the correct search pattern to be passed to find program ?


You have all kinds of options.

locate .cmap 
would list all such files.
ls -Rt | grep .cmap
would list all such files under the current dir, showing the most
recently edited first.
find . -name *.cmp
would also list all such files.
If you have tonso .cmap files, of course, none of these will narrow it
down.
Say you know you've edited it in the last 10 days; try
find ~ -mtime -10 -name *.cmap

Find is awesome.  Learn more here:
http://www.linux.ie/newusers/beginners-linux-guide/find.php

./tony
--
http://tonybaldwin.me
stuff...lotso stuff, by tony


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120114190836.gc15...@deathstar.hsd1.ct.comcast.net

Reply via email to