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)
Hi,
I have some files in a folder with different time stamps and
I want to display the files which are older than 1 hour.
i tried with find.
need urgent help. (3 Replies)
Hi,
I have some files in a folder with different time stamps and
I want to display the files which are older than 1 hour.
i tried with find.
need urgent help. (7 Replies)
I need to write a script to find files older than 2 hours in set of direcotries and list them ina mail. I know find command ti list files greater/lesser than days but i need to do it for hours. Any input. (6 Replies)
trying to find a way to locate files modified in the last hour in a shell script, unfortunately the command 'find . -mmin -60' is not supported on SunOS 5.10 (works on OpenSolaris 5.11 :mad:)
Does anyone know a method of doing this in shell script on 5.10?
cheers (19 Replies)
Hi,
I need to delete all files, in a folder, older than 2010 that is 2009, 2008 ,.. files...
Can anyone suggest the command for that,...
Thanks
---------- Post updated at 03:29 PM ---------- Previous update was at 02:53 PM ----------
humm,.. ok right now I am using the following:... (4 Replies)
Hi All,
Let me know how can i find and delete files from one unix server to another unix server which are 'N' days older.
Please note that I need to delete files on remote unix server.So, probably i will need to use sftp, but question is how can i identify files and folders which are 'N'... (2 Replies)
Hi Gurus,
I want to find the file created within one hour in solaris.
I have tried below command, but it is no lucky.
$find . -mtime -1/24, -name "abc*"
above command give me the file name which created two hours ago
find . -cmin -60, -name "abc*"
above command I got error as... (4 Replies)
Hi,
Out of a list of files in a directory, I want to find the files which were created/modified more than 1 hour ago. I am using HP -UNIX and it does not support the argument -mmin. Please advise.
I am using # !/bin/sh (4 Replies)
Discussion started by: jhilmil
4 Replies
LEARN ABOUT OSF1
poll
Poll(4) Kernel Interfaces Manual Poll(4)NAME
Poll - Contains information specifying when the UNIX-to-UNIX Copy Program (UUCP) should poll designated remote computers
SYNOPSIS
/usr/lib/uucp/Poll
DESCRIPTION
The /usr/lib/uucp/Poll file contains information for polling remote computers. Each entry in the Poll file contains the name of a remote
computer to call, followed by a <TAB> character, and a sequence of hourly intervals expressed in digits. These are the hourly intervals at
which the local system polls a remote system; you must specify interval times as digits between 0 and 23. The format of entries in the Poll
file is: sys-name<TAB>hour
Note that you must be logged in as root to edit the Poll file, which is owned by the uucp login ID.
The Poll file is used with the crontabs/uucp file, the uudemon.hour script, and the uudemon.poll script. Together, these files are respon-
sible for initiating automatic calls to remote systems to perform certain maintenance tasks.
EXAMPLES
The following example provides polling of computer eagle every 4 hours: eagle 0 4 8 12 16 20 The follwing example provides polling of
computer hera every hour: hera 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
FILES
Contains all the configuration files for UUCP, including the Devices file. Describes accessible remote systems. Initiates file transport
calls to remote systems. Polls remote systems listed in /usr/lib/uucp/Poll file. The uucp file that contains instructions for the cron
daemon.
RELATED INFORMATION
Commands: crontab(1)
Daemons: cron(8) delim off
Poll(4)