The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to list files Created in last 2 hrs rsonakiya UNIX for Dummies Questions & Answers 4 03-02-2009 07:25 AM
How to list files with specific created date Draculla Filesystems, Disks and Memory 2 05-03-2007 11:45 PM
List files created between specific date and time jazjit Shell Programming and Scripting 3 04-27-2007 01:19 AM
List Files & Folders created/modified tipsy Shell Programming and Scripting 2 10-24-2006 01:22 PM
command unix to list all files created since n month ago yacsil Shell Programming and Scripting 8 12-15-2003 01:12 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-27-2007
csreenivas csreenivas is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 11
command to list files that are created before some date

Can you please let me know the command to list the files that are created before some date, this we want to use for the following

Eg: Move all the files that got created before 2006 to new folder in Solaris
  #2 (permalink)  
Old 06-27-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
Please search before posting. This has been answered on numerous occasions in the forums.
  #3 (permalink)  
Old 06-27-2007
csreenivas csreenivas is offline
Registered User
  
 

Join Date: Jun 2007
Posts: 11
created before some date

Hi

I found the below commands that are modified, but I would like to know the command that the files are created before some date.Thank You.I am new to solaris

To list files modified 30 days back
find . -type f -mtime -30

To list folders modified 30 days back
find . -type d -mtime -30
  #4 (permalink)  
Old 06-27-2007
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,209
Here is one example that came up on a search:

http://www.unix.com/unix-for-dummies...tain-date.html
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 06:10 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0