Sponsored Content
Top Forums Shell Programming and Scripting command unix to list all files created since n month ago Post 44866 by yacsil on Thursday 11th of December 2003 04:37:11 PM
Old 12-11-2003
command unix to list all files created since n month ago

Hello,

I want to list all files that were created since 3 month ago.

it exist a unix command to do it ?


thank you
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Deleting files created before two days ago

Dear All: I want to build a shell that delete files created two or more days ago ... I think it could be built using a special command with ls or grep, I'd apreciate any help from you guys I have a lot of log files from november, december, january and this tool will help me a lot The files... (3 Replies)
Discussion started by: josecollantes
3 Replies

2. Shell Programming and Scripting

Need to process files created an hour ago

Hello all, I would like to ask for an advice on how to deal with the following scenario. Every now and then, our ERP system creates an interface text file with the following file format - XORD????.DLD where ???? is a sequence number. We can have 1 or more XORD files created in an hour. ... (9 Replies)
Discussion started by: negixx
9 Replies

3. Shell Programming and Scripting

display files created in a particular month

hi, i m new to unix. I have been trying to find all the files in my home directory and its subdirectories that are created in the month of september. Can anyone please help me with this??? (1 Reply)
Discussion started by: t_harsha18
1 Replies

4. UNIX for Dummies Questions & Answers

file was created before 15 days ago.

How can I get difference date between today and 15 days ago and all filename is was created before 15 days ago? It has to be korn shell script. Thanks. (1 Reply)
Discussion started by: YoungBlood
1 Replies

5. Shell Programming and Scripting

Cron to run first day of month to calculate date 3 months ago

Hi, I would like to find out how can i calculate a date which is 3 months ago. I intend to run a cron job on the 1st of every month, and calculate the month 4 months earlier from the date. For example, if today's date is 1st May 2007, i would like to return 012007( January 2007). i can get... (1 Reply)
Discussion started by: new2ss
1 Replies

6. Solaris

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 (3 Replies)
Discussion started by: csreenivas
3 Replies

7. Shell Programming and Scripting

Find unix file created how many days ago?

i want to find unix file created how many days ago? (4 Replies)
Discussion started by: utoptas
4 Replies

8. Homework & Coursework Questions

list of files modified 10 hours ago using grep

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is the question: Make a list of files in your home directory that were changed less that 10 hours ago,... (3 Replies)
Discussion started by: fight4love
3 Replies

9. Shell Programming and Scripting

Check how many minutes ago the last file created

Hi , I need help in getting how many minutes ago the last file, matching some pattern in file name, was created in a folder. Thanks in advance. (8 Replies)
Discussion started by: Anupam_Halder
8 Replies

10. Shell Programming and Scripting

To copy files which are created in particular month

Hi GUys, I need to copy the files which are created on particuar month for eg ls dir Jul 12 12:46 apple.txt Jun 16 15:58 file.txt i need to copy only files which are created on current month Please use CODE tags as required by forum rules! (11 Replies)
Discussion started by: Master_Mind
11 Replies
PSCAL(1)						      General Commands Manual							  PSCAL(1)

NAME
pscal - generates postscript showing your calendar for given year and month SYNOPSIS
: pscal [ -Pprinter ] [ -R ] [ -r ] [ -t ] [ -d directory ] [ other printer flags ] [ month [ year ] ] DESCRIPTION
: Pscal generates the Postscript showing a calendar for the specified month and year. The year, if omitted, defaults to the current year. If both month and year are omitted, the current month is printed. Year can be between 1753 and 9999. The month is a number between 1 and 12. I can also be a three letter month abbreviation. The calendar can be loaded with information from the user. The information either comes in an `Event' file or can be derived from files under the user's Calendar directory should this exist. The search for this data is as follows, if any of these succeeds the data for the calendar is taken from that source. 1) The shell variable EFILE may be set to the name of an Event file. 2) An event file called `Event' may exist in the current directory. 3) The file $HOME/.holiday may exist and contain a list of events. 4) The directory $HOME/Calendar (or a different directory specified with the -d option) may exist containing XCal files. An event file should consist of lines of the form month:day:message string Messages should be 20 characters or less, with no more than 6 messages per day. No spaces should appear from the beginning of a line until after the second colon. Month and day should be numbers in the obvious ranges. OPTIONS
-Pprinter The printer may be specified with the usual -Pprinter syntax. -r The calendar page is printed in ``landscape'' orientation (the default). -R The calendar page is printed in ``portrait'' orientation; this yields a slightly smaller image and may be more suitable for embedding into other documents. -d directory Use the given directory instead of $HOME/Calendar. -t Causes the PostScript to be sent to the standard output, rather than to the printer. This is useful if you wish to save the out- put in a file, or if you want to use options with the lpr(1) command. -F font Sets the font family for the title text (the month and year). -f font Sets the font family for the day-of-month numbers. Other arguments starting with `-' are passed through to lpr(1). Any argument whose first character is '-' is passed on to lpr. The shell variables BANNER, LFOOT, CFOOT, and RFOOT become a top centered banner, and left, centered, or right justified footers respectively. As in: BANNER="Schedule 1" CFOOT=Preliminary pscal 4 90 AUTHOR
Patrick Wood Copyright (C) 1987 by Pipeline Associates, Inc. Permission is granted to modify and distribute this free of charge. HISTORY
Original From: patwood@unirot.UUCP (Patrick Wood) Shell stuff added 3/9/87 by King Ables Made pretty by tjt 1988 Holiday and printer flag passing hacks added Dec 1988 by smann@june.cs.washington.edu Used the better looking version with 5 rows of days rather than 6 hacked together with holiday and banner/footnotes added by Joe (No Rela- tion) Wood, 12/89, jlw@lzga.ATT.COM BUGS
`Pscal' doesn't work for months before 1753 (weird stuff happened in September, 1752). A better format for the dates of holidays would be nice. An escape to allow holiday messages to be raw PostScript would also be nice. The holiday messages should be handled more intelligently (ie, the messages should be clipped to the day). 8/January/1990 PSCAL(1)
All times are GMT -4. The time now is 08:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy