Sponsored Content
Full Discussion: -mtime command
Operating Systems Linux Red Hat -mtime command Post 302506228 by Perderabo on Saturday 19th of March 2011 10:19:03 AM
Old 03-19-2011
It examines the file modification time. If that modification is more than 1 day ago the file is printed. There are 86,400 second in a day. The file must have been last modified 172800 or more seconds before the start of the find command to pass the test.

See: https://www.unix.com/tips-tutorials/2...ime-atime.html for more detail.
 

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

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

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

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

7. Shell Programming and Scripting

What is -mtime 0 in find command?

What is "-mtime 0" option in find command. Does it consider the files that are of today lets say today is 4th Aug or will include files 24 hrs past from the current time???? (3 Replies)
Discussion started by: sachinkl
3 Replies

8. AIX

mtime command erroring

I am calling this paramters from a controlfile CONTROLFILE="/u01/scripts/admin/filesystem.ctl" SEARCH_PATH="`grep SEARCH_PATH $CONTROLFILE | awk -F: '{print $2}' `" FILE_TYPE="`grep FILE_TYPE $CONTROLFILE | awk -F: '{print $2}' `" DEL_RETENTION_SIZE="`grep DEL_RETENTION_SIZE $CONTROLFILE |... (5 Replies)
Discussion started by: javeedkaleem
5 Replies

9. UNIX for Advanced & Expert Users

Passing Variable in -mtime command

Hi, As the process of log cleanup, Im using the below command find $DIR -mtime +3 -type f -exec gzip {} \; The problem is I want to pass +3 as variable in my unix shell. I have defined ZPDATE=+3 in my properties file and calling this property file in my script. If i try the... (6 Replies)
Discussion started by: Deena1984
6 Replies

10. AIX

AIX - find command with mtime

Hello experts, I would get from a list of files, which are more ancient than 1 hour. Examples: Current date: Wed Oct 28 16:10:02 SAT 2015 using: find path -name 'file_name. *' -mtime +0 I see files with less at 00:00:00 date of the current day. /path/file_name.20151027170725... (7 Replies)
Discussion started by: carlino70
7 Replies
c-icap-client(8)					      System Manager's Manual						  c-icap-client(8)

NAME
c-icap-client - simple ICAP client SYNOPSIS
c-icap-client [ -i icap_servername ] [ -p port ] [ -s service ] [ -f input_file ] [ -o out_file ] [ -req url ] [ -d debug level ] [ -nore- shdr ] [ -x icap-header ] [ -hx http-header ] [ -v ] DESCRIPTION
c-icap-client is a simple ICAP client. It can be used to test your icap server configuration. OPTIONS
-i icap_servername The hostname of the icap server. The default is localhost -p port The server port. The default port value is 1344 -s service The service name. The default service name is "echo" -f filename Send this file to the icap server. Default is to send an options request -o filename Save output to this file. Default is to send to stdout -req url Send a request modification instead of response modification, using as http url the url provided with this option. -d level debug level info to stdout -noreshdr Do not send reshdr headers -x icap-header Include the icap-header in icap request headers -hx http-header Include the http-header in http headers -v Print response headers SEE ALSO
c-icap(8) c-icap-stretch(8) c-icap-config(8) c-icap-libicapapi-config(8) c-icap-mkbdb(8) BUGS
Many... AUTHOR
Tsantilas Christos c_icap 0.1.6 c-icap-client(8)
All times are GMT -4. The time now is 03:51 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy