Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How to find files created some days before? Post 302440171 by jyotidas on Monday 26th of July 2010 10:51:35 AM
Old 07-26-2010
How to find files created some days before?

HI,
I have 2 questions.
1>
Is there any code to see files that created some day or some time before in a directory???
2>
how or where i will find the last exit status of a process??

thanks
 

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

Find files older than 20 days & not use find

I need to find files that have the ending of .out and that are older than 20 days. However, I cannot use find as I do not want to search in the directories that are underneath the directory that I am searching in. How can this be done?? Find returns files that I do not want. (2 Replies)
Discussion started by: halo98
2 Replies

3. Shell Programming and Scripting

List files created before Noon 2 days prior

Our nightly updates run in the evening and finish around 8am. My boss wants the current log files kept on the server for 2 days, but wants anything created before noon, 2 days prior archived. I was thinking of using touch to set a temporary file with a date of today-2 and a time of noon, then... (3 Replies)
Discussion started by: prismtx
3 Replies

4. Shell Programming and Scripting

Remove files which created date before 10 days on HP-UX

Hi All, Could you please let me know if there is any one can help to create a shell script to remove some files which is the created date for them greate than 10 days (sysdate-10) Please try to email me on email removed Thanks in advance, Murad (1 Reply)
Discussion started by: murad_fayez
1 Replies

5. Shell Programming and Scripting

Find the directory modified/created before 4 days

Hi, I have an application which creates some directories while running. I want to delete these directories which are 4 days older. i tried find . type d -mtime +1 -print And it is working fine.. but find . type d -mtime +4 -print is not giving any results which are 4 days... (6 Replies)
Discussion started by: Tuxidow
6 Replies

6. Shell Programming and Scripting

find files created within 30 minutes

find . -name *.txt -mmin -30 This is working in Redhat but not in Solaris.. What is the equivalent option in Solaris? (1 Reply)
Discussion started by: tene
1 Replies

7. Shell Programming and Scripting

Find directories only and delete them created 3 days before

Hello I have some directories and files created under /export/local/user I would like to delete directories only under /export/local/user, created before 3 days Can someone help me with command to do this task? Thanks (4 Replies)
Discussion started by: needyourhelp10
4 Replies

8. 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

9. Shell Programming and Scripting

what is the find to command to find the files created last 30 days

what is the find to command to find the files created last 30 days (5 Replies)
Discussion started by: rajkumar_g
5 Replies

10. Shell Programming and Scripting

Find the sum of files created 5 days before

Hi, I want to find the sum of all the files created 5 days ago and store it in a variable. (os is HP-UX) can this be extracted from ls -l Is there any other way of getting the sum of all the files created (4 Replies)
Discussion started by: bang_dba
4 Replies
TZ_CONVERT(1)															     TZ_CONVERT(1)

NAME
tz_convert - Timezone converter from operating system tz format into libical format used by Orage and several other calander tools. SYNOPSIS
tz_convert [OPTION...] [INFILE] DESCRIPTION
tz_convert is a command line tool, which can be used to convert timezone data from so called tz binary format, usually used in operating systems, to libical format, used by several calenders like Orage. There are several options available to only convert certain files or files in certain directory. Or only convert part of the file and ignore for example old data. It is also possible to add new timezone files, which are based on old timezone data. There are tools, which generate ical timezones data from tz source database, but those are often not available for normal users and are difficult to use. So often libical timezones are not upto date. tz_convert reads directly the binary tz data and makes it possible to keep libical timezones up to date. The tool is mainly meant to be used by distro maintainers, but it should be easy and clear enough for all users. FILES
tz timezone files often can be found in directory /usr/share/zoneinfo. For example Europe/Helsinki. libical timezone files needs to be where you calendar can find them. For Xfce and Orage systems they are located under your Xfce directory in share/orage/libical/zoneinfo. For example Europe/Helsinki.ics. (use locate to find them.) OPTIONS
-V, --version Print version information and exit. -?, --help Show this help message and exit. --usage Show short usage summary. -i, --infile tz file name from operating system to convert from. If this is directory, all files in it are processed. Default is /usr/share/zoneinfo -o, --outfile ical timezone file name to be written. This can not be directory. It is meant to be used together with timezone parameter. This is very seldom used. Default is timezone/infile.ics -m, --message debug message level. How much exra information is shown. 0 is least and 10 is highest (1=default). May give usefull information when things do not work as expected. -l, --limit limit processing to newer than this year. Often there is a lot of old data available, which is not needed in normal day to day work and skipping unused years helps to improve performance. Default is to ignore older than year 1970 time changes. -t, --timezone timezone name to be used in the actual file. Normally file name is the same as timezone name, but if you want to create your own timezone, you need new file name, which contains some known timezone name. This is used together with outfile parameter. -r, --norecursive process only main directory, instead of all subdirectories. 0 = recursive 1 = only main directory (0=default). -c, --exclude count number of excluded directories. 5 = default (You only need this if you have more than 5 excluded directories). This is used together with exclude parameter. -x, --exclude do not process this directory, skip it. You can give several directories with separate parameters. By default directories right and posix are excluded, but if you use this parameter, you have to specify those also. You need to use exclude count if you have more than 5 exclude directories. -u, --norrule do not use RRULE ical repeating rule, but use RDATE instead. Not all calendars are able to understand RRULE correctly with timezones. (Orage should work fine with RRULE). 0 = use RRULE 1 = do not use RRULE (0=default). BUGS
Please report any bugs and enhancement requests to http://bugzilla.xfce.org/. Note that tz_convert is part of orage so bugs are reported against orage and component tz_convert. Usage related questions can be sent to xfce@xfce.org email list. HOMEPAGE
http://www.xfce.org/projects/orage/ AUTHOR
tz_convert was written by Juha Kautto <juha@xfce.org>. This manual page was written by Juha Kautto <juha@xfce.org>. 05/28/2009 TZ_CONVERT(1)
All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy