Sponsored Content
Top Forums Shell Programming and Scripting Need to find created date of file in UNIX Post 302078806 by vgersh99 on Tuesday 4th of July 2006 06:04:27 PM
Old 07-04-2006
Quote:
Originally Posted by vijay.amirthraj
How can I delete these files once i get from this find command.

kindly assist please.. this is an urgent issue
for any 'urgent' issue try to understand a given hint, browsE the relative 'man' pages' for further help and come back with specific questions.

Last edited by vgersh99; 07-04-2006 at 08:53 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

how to find folder size with created date

hi, please give me adivse .how to find the folder size with created created date . eg: i have directore and in that sub directoties and so on.. /home/mud/abc/dcb/ for this i want output like this path size date -------------------------------------------... (3 Replies)
Discussion started by: muddasani
3 Replies

2. UNIX for Dummies Questions & Answers

Finding the date a file was created

how do i find the date a file was created? (3 Replies)
Discussion started by: trob
3 Replies

3. Shell Programming and Scripting

Rename File Based on Created Date

I am trying to rename files based on the created/born date of the file. I Have a total of 4000 files that i am trying to do this with and would like it to be log_yyyymmddhh.gz right now the files are maillog.???.gz. Can anyone point me in the right direction of how to get this done via scipt? ... (4 Replies)
Discussion started by: Paulb
4 Replies

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

5. Shell Programming and Scripting

Find first created file date in YYYYMMDD format

Hi All, We are copying all the files into ARCHIVE directory after we process them. We are doing this process from last 2 years, now we have a lot of files in ARCHIVE directory. Now I need to find when the first file is copied into this directory? If I Issue, ls -l /ARCHIVE/*.* | tail -1... (3 Replies)
Discussion started by: Raamc
3 Replies

6. AIX

How to find the date on which a particular directory is created?

how to find the date on which a particular directory is created? Thanks. (4 Replies)
Discussion started by: samsungsamsung
4 Replies

7. UNIX for Dummies Questions & Answers

Can we change the file created date?

Hi, I am creating a file in unix today. Is it possible to make the file created as 2 days older (or some past date)? P.S: i dont want to change the system date to older one and try.:rolleyes: Thanks, Pandeeswaran (6 Replies)
Discussion started by: pandeesh
6 Replies

8. HP-UX

How to find a file created in UNIX every monday.???

Hi All Any one please suggest me... I have one directory every monday one file will be created in that directory. so if the file is created on monday or not i need check first. How can write a script??? if the file is not created i want to quit from script. Thanks K.Srinivas (5 Replies)
Discussion started by: k_s_rao7
5 Replies

9. Shell Programming and Scripting

Find the file created on current date

Hi All, I'm trying to find a file which is created on current day.... I searched in unix.com and i found, below command. find /land/ -mtime -1 -type f -print | grep "FF_Member_STG.dat" The command checks if the file with name "FF_Member_STG.dat" is created today then exit else proceed. ... (3 Replies)
Discussion started by: ace_friends22
3 Replies

10. UNIX for Dummies Questions & Answers

Find the count of files by last created date based on the given date range

My unix version is IBM AIX Version 6.1 I tried google my requirement and found the below answer, find . -newermt “2012-06-15 08:13" ! -newermt “2012-06-15 18:20" But newer command is not working in AIX version 6.1 unix I have given my requirement below: Input: atr files: ... (1 Reply)
Discussion started by: yuvaa27
1 Replies
snmpconf(1M)						  System Administration Commands					      snmpconf(1M)

NAME
snmpconf - creates and modifies SNMP configuration files SYNOPSIS
snmpconf snmpconf -g basic_setup snmpconf [options] [file_to_create] DESCRIPTION
The snmpconf utility is a simple script that walks you through setting up a configuration file, step-by-step. It works by asking you a series of questions. It creates the configuration file based on your responses. In its default mode of operation, snmpconf prompts you with menus showing sections of the various configuration files it knows about. When you selects a section, a submenu is shown listing the descriptions of the tokens that can be created in that section. When a description is selected, you are prompted with questions that determine the specification of the selected token. When you quit snmpconf, any configuration files that have been edited are saved to the local directory. snmpconf supplies comments in the configuration files for each change. A particularly useful option is the -g switch, which walks you through a specific set of configuration questions. For an example, invoke: # snmpconf -g basic_setup This command walks you through an initial setup of the snmpd daemon. OPTIONS
The following options are supported: -f Force overwriting existing files in the current directory without prompting the user. -i When finished, install the files in the location where the global system commands expect to find them. -p When finished, install the files into the user's home directory's .snmp subdirectory. Applications will search for configuration files in this location. -I directory When finished, install the files into the directory directory. -a Do not issue queries. Read in the various known configuration files and write them back out again. This has the effect of "auto-com- menting" the configuration files for you. -r all | none Read in either all or none of the found configuration files. Normally, snmpconf prompts you for which files you wish to read in. -R file,... Read in a specific list of configuration files. -g groupname Groups of configuration entries can be created that can be used to walk a user through a series of questions to create an initial con- figuration file. There are no menus to navigate, just a list of questions. The command: # snmpconf -g basic_setup provides a good example. -G List all the known groups. -c configdir snmpconf uses a directory of configuration information to learn about the files and questions that it should be asking. This option tells the utility to use a different location for configuring itself. -q Run slightly more quietly than the default. Because this is an interactive program, this option is not recommended. It removes informa- tion from the output that might be helpful to you. -d Turn on copious debugging output. -D Add more (beyond -d) debugging output in the form of Perl variable dumps. EXAMPLES
Example 1: Adding Comments to snmpd.conf The following command reads in an snmpd.conf file and adds comments describing what each token does. # snmpconf -R /etc/sma/snmp/snmpd.conf -a -f snmpd.conf EXIT STATUS
0 Successful completion. 1 A usage syntax error. A usage message displays. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWsmcmd | +-----------------------------+-----------------------------+ |Interface Stability |External | +-----------------------------+-----------------------------+ SEE ALSO
snmpd(1M), snmpd.conf(4), snmp_config(4), attributes(5) SunOS 5.10 20 Jan 2004 snmpconf(1M)
All times are GMT -4. The time now is 11:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy