Sponsored Content
Full Discussion: problem in mtime
Top Forums Shell Programming and Scripting problem in mtime Post 302152071 by manas_ranjan on Tuesday 18th of December 2007 12:48:13 PM
Old 12-18-2007
problem in mtime

Hey champs,


i am using the following commands to search 1day files available under a dir by shell script.

find <dirname> -type f -mtime +1

sometimes it used to show me correct results.....but sometimes it's not ???

if the above one not working perfect i.e. not showing me the exact files .

then i used to issue the following one,

find <dirname> -type f -mtime 1

surprisingly it works fine ........Smilie

SO can anyone help me why so strange is happening??? and how can i get the exact file name
under certain dir of 1day older.....
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

mtime help!!!!!

thank you for the help. (2 Replies)
Discussion started by: scooter17
2 Replies

2. Shell Programming and Scripting

mtime

hi, :) consider the following statement find . -type f -mtime -1 -print here what is the use of -1 option. any help? cheers RRK (7 Replies)
Discussion started by: ravi raj kumar
7 Replies

3. UNIX for Dummies Questions & Answers

problem with find and mtime

I am using HP-UNIX , The below command doesnt display anything although i have changed a file in the directory by toutch -t 200010101800 nfile find /tmp/transfer/ -name "*.*" -mtime +1 Any problrm with the find command i written . .Please help ??.. Thanks, Arun (4 Replies)
Discussion started by: arunkumar_mca
4 Replies

4. UNIX for Dummies Questions & Answers

strange problem in finf with mtime

Hi All, When i do ll , i saw the below list ll total 144512 drwxr-xr-x 2 weftp usr 8192 May 1 2007 weftp drwxrwxrwx 3 wetp usr 24576 Dec 23 20:45 weftp drwxrwxrwx 2 erer1 usr 8192 Nov 6 09:28 itm -rwxrwxrwx 1 stj usr 1006258 Sep 19 15:33... (6 Replies)
Discussion started by: arunkumar_mca
6 Replies

5. UNIX for Dummies Questions & Answers

Problem with find command when used with mtime

All, Please find the below comand . I am trying to list the file that has not been accesed is past 14 days . But when you look at the display the directory "crecv1" which has date as today is displayed .. Why it is happening . I send this code instead of ls -ltr as rm -f -r in production... (4 Replies)
Discussion started by: arunkumar_mca
4 Replies

6. UNIX for Dummies Questions & Answers

-mtime +30

Hello, Can someone help me to understand the following: find /test/rman/ -mtime +30 -exec rm '{}' \; What does -mtime +30 mean? Thanks! (1 Reply)
Discussion started by: Blue68
1 Replies

7. Shell Programming and Scripting

mtime

Hi, I've some files of some past days and everyday some new files are also getting added to the same. Now how can i use mtime to get the files of the current date i.e if i want the files of 25th feb 2009 and if im finding the files on 25th 12:10 am then i should only get the files after... (4 Replies)
Discussion started by: ss_ss
4 Replies

8. AIX

-mtime Problem

Hi, I'm using command "find . -mtime +10 -type f -print" to list the files 10 days or older but I'm getting the files which are even created today. What am I doing wrong? Thanks. (1 Reply)
Discussion started by: Gbyte
1 Replies

9. UNIX for Dummies Questions & Answers

(find) mtime vs. (unix) mtime

Hi I've made some test with perl script to learn more about mtime... So, my question is : Why the mtime from findfind /usr/local/sbin -ctime -1 -mtime -1 \( -name "*.log" -o -name "*.gz" \) -print are not the same as mtime from unix/linux in ls -ltr or in stat() function in perl : stat -... (2 Replies)
Discussion started by: hiddenshadow
2 Replies

10. Shell Programming and Scripting

find -mtime +7

Dear all, find $ADMIN_DIR/$SID/arch/ -name '*.gz' -mtime +7 -exec rm {} \; is it retaining 7 days OR 8 days .gz files ? Thanks Prakash (10 Replies)
Discussion started by: prakashoracledb
10 Replies
GLOBUS-UPDATE-CERT(8)					      GSI-C OpenSSL Commands					     GLOBUS-UPDATE-CERT(8)

NAME
globus-update-certificate-dir - Update symlinks in the trusted CA directory SYNOPSIS
globus-update-certificate-dir [-help] [-d DIRECTORY] DESCRIPTION
The globus-update-certificate-dir program creates symlinks between files (CA certificates, certificate revocation lists, signing policy, and certificate request configuration files) using the certificate hash the installed version of OpenSSL uses. OpenSSL 1.0.0 uses a different name hashing algorithm than previous versions, so CA distributions created with older versions of OpenSSL might not be able to locate trusted CAs and related files. Running globus-update-certificate-dir against a trusted CA directory will add symlinks to the files to the hash if needed. The full set of command-line options to globus-update-certificate-dir consists of: -help Display a help message to standard output and exit -d DIRECTORY Create links in the trusted CA directory DIRECTORY instead of using the default search path. ENVIRONMENT
If the following variables affect the execution of globus-update-certificate-dir X509_CERT_DIR Default trusted certificate directory. HOME Path to the current user's home directory. GLOBUS_LOCATION Path to the Globus installation. University of Chicago 02/18/2010 GLOBUS-UPDATE-CERT(8)
All times are GMT -4. The time now is 03:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy