[x] Welcome to LinuxSolved.com Linux help forums, here we are a community of Linux users helping each other. It is helpful to both ie. new linux users as well experienced one. We always have our experts to help you and ofcourse members help each other, so you can ask for help any time by Registering.: Click to Register

Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Linux Forums - Linux Help,Advice & support community:LinuxSolved.com  |  Forum  |  Linux in General  |  Os Talk  |  Topic: Find Command
Welcome to LinuxCommunity

You have just arrived to a friendly linux community which is helping Linux Users from Years.. You can be its part if you have not already joined it. Registration is FREE and is gateway to unlimited help and support to all your linux related needs. If you are an GNU/Linux supporter then you have come to the right place.
Pages: [1]
  Print  
Author Topic: Find Command  (Read 2725 times)
0 Members and 1 Guest are viewing this topic.
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« on: April 03, 2006, 05:23:46 PM »

Hi all

I want to know that wheather  the file are there using find command..
means i wana check   date of creation of file using find command

suppose i wana chek in directory /test that wheather the file of previous date i.e 3/4/2006 (Assuming the current date of system is 2/4/2006) is present or not...??
So how can i do using file command?Huh I wana do this only find command??
I have tried option find -mtime and  find -ctime but didn't get success..

Please help if anybody can.....

Thx in Advance

Gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2377


View Profile
« Reply #1 on: April 04, 2006, 11:45:52 PM »

well, ..

see
dsl.org/cookbook/cookbook_10.html#SEC143
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #2 on: April 05, 2006, 06:34:03 AM »

Thx Ricky

I will try this and let  you know
Thx again

Gaurav
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #3 on: April 07, 2006, 09:46:56 AM »

Thx Ricky..
I have made the script with the tutorial you have provided to me, Still My script is not in full functionality.
 
But Really its very good tutorial...

Thanks
Gaurav
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2377


View Profile
« Reply #4 on: May 14, 2007, 01:23:18 PM »

Hi Gaurav, after a year (almost) have same question here -->
Using commandline for searching & finding but story is same .
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #5 on: May 15, 2007, 01:49:48 AM »

Yeah its somewhat same.............
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2377


View Profile
« Reply #6 on: May 15, 2007, 05:29:57 AM »

So what do you think.. not really any way to find time of creation of file in Linux ?
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #7 on: May 21, 2007, 02:04:55 AM »

Ricky

I have searched it but was not able to find relevant solution for that but there is command called status, but it doesn't give the required solution as it gives mtime or access time
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2377


View Profile
« Reply #8 on: May 21, 2007, 03:29:55 PM »

Is it something missing in Linux or we donno the solution ?
Logged
Arora
Linux Noob !
*
Offline Offline

Posts: 19


View Profile
« Reply #9 on: May 22, 2007, 07:46:09 AM »

I don't have ur email id , mail me
Logged
gauravbajaj
LST CareTaker
Experienced
*****
Offline Offline

Posts: 644


View Profile
« Reply #10 on: May 24, 2007, 12:07:50 AM »

Ricky

I think its somewhat missing in linux but not sure..., searched for that but wasn't able to find appropriate solution......
Logged
Ricky
LST CareTaker
Specially Skilled
*****
Offline Offline

Gender: Male
Posts: 2377


View Profile
« Reply #11 on: May 31, 2007, 01:13:19 PM »

@Gaurav

May be.

@Arora..
What are you talking about ?
Logged
dragoncity99
LST CareTaker
Experienced
*****
Offline Offline

Gender: Male
Posts: 529


View Profile
« Reply #12 on: December 26, 2007, 02:24:47 AM »

I believe it is not that Linux have no proper or missing proper solution. It is just that we have a phenomena called "So Near Yet So Far" Cheesy

The answer to using Linux/Unix commands is 1 simple principle that adheres to standards wisely is
--> Use the "man" and "info" tool.

Most of the times Linux tool developers will either document their sample commands in "man" page or "info" page.

# man find
or
# info find

You follow this principle, u dont need 2 waste effort googling around at all. Tongue
Logged
Pages: [1]
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
I could not find grub boot loader after installing win xp? Os Talk sivasankar 1 2240 Last post May 09, 2005, 06:42:48 AM
by gauravbajaj
nslookup ** server can't find homelan.home: SERVFAIL Linux Servers Support heals1ic 1 3329 Last post May 16, 2005, 07:50:27 AM
by gauravbajaj
cannot find hardisk Other Devices vlinux1 2 1523 Last post October 06, 2005, 03:21:27 AM
by deven_01
where can I find Logs Miscellaneous raid2005 2 803 Last post August 05, 2006, 11:07:08 PM
by raid2005
Script using find command Linux Development & Programming gauravbajaj 2 917 Last post December 14, 2007, 10:02:04 PM
by dragoncity99
Search LS
Welcome, Guest. Please login or register.
Did you miss your activation email?
July 29, 2010, 10:14:52 AM

Login with username, password and session length
Navigation
Recent Discussions
[July 24, 2010, 11:46:22 PM]

[July 24, 2010, 04:10:46 PM]

[July 23, 2010, 07:22:27 AM]

[July 23, 2010, 07:20:53 AM]

[July 23, 2010, 07:19:15 AM]

[July 23, 2010, 07:15:30 AM]

[July 23, 2010, 07:08:21 AM]

[July 19, 2010, 11:01:10 PM]

[July 19, 2010, 10:01:58 AM]

[July 19, 2010, 01:21:00 AM]
Members
Total Members: 7690
Latest: BOZZYPRINCESS
Stats
Total Posts: 9524
Total Topics: 2729
Online Today: 7
Online Ever: 128
(April 10, 2010, 10:24:17 PM)
Users Online
Users: 0
Guests: 13
Total: 13
Privacy Policy| Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Theme & TinyPortal v0.9.8 © Bloc