02-12-2008
not sure if available in all environments, but
try
find * -mmin -60 (modified time), or
find * -cmin -60 (created time)
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I would like to ask for an advice on how to deal with the following scenario.
Every now and then, our ERP system creates an interface text file with the following file format - XORD????.DLD where ???? is a sequence number. We can have 1 or more XORD files created in an hour. ... (9 Replies)
Discussion started by: negixx
9 Replies
2. Shell Programming and Scripting
Hi,
I have a directory which uploads files every minute.I want to check the number of files uploaded for every one hour.
I want to run a cron every hour to chk this but iam hanged like how to write the script.
Like the script should count for one hr ie from 00:00 to 01:00 hrs then next hr... (3 Replies)
Discussion started by: nessj
3 Replies
3. Shell Programming and Scripting
Hello,
In a HP-UX system we receive several files evry hour.
The file is in the format filename+hour e.g:
sv00
sv01
sv02
sv03
sv04
sv05
sv06
sv07
sv08
sv09
sv10
sv11
sv12
sv13
sv14
sv15 (2 Replies)
Discussion started by: drbiloukos
2 Replies
4. Shell Programming and Scripting
Hi all,
I have ot match sentence list and word list anf fetch similar words in a separate file
second file with 2 columns
So I want the output shuld be 2 columns like this (3 Replies)
Discussion started by: manigrover
3 Replies
5. Shell Programming and Scripting
Hi friends, I want to convert 24 hour timing to 12 hour please help me...
my data file looks like this..
13-Nov-2011 13:27:36 15.32044 72.68502
13-Nov-2011 12:08:31 15.31291 72.69807
16-Nov-2011 01:16:54 15.30844 72.74028
15-Nov-2011 20:09:25 15.35096 ... (13 Replies)
Discussion started by: nex_asp
13 Replies
6. Shell Programming and Scripting
Hello Masters,
I need one help.
I want to copy the files which are continuously generating on one server.
But this would be on hourly basis.
e.g.
-rw-rw-r-- 1 akore akore 0 Feb 12 03:20 test1.log
-rw-rw-r-- 1 akore akore 0 Feb 12 03:42 test2.log
-rw-rw-r-- 1 akore akore 0 Feb 12 04:22... (2 Replies)
Discussion started by: akore83
2 Replies
7. Shell Programming and Scripting
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)
Discussion started by: ken6503
4 Replies
8. Shell Programming and Scripting
Hi Gurus,
I need to compare two file contents and log the difference. the detail as below:
in current directory there is file
abc20140728_1020.txt
abc20140728_1110.txt
I need to find the files which created within 60 minutes first then compare the contents.
I am able to use find... (12 Replies)
Discussion started by: ken6503
12 Replies
9. Shell Programming and Scripting
Hi all,
i have a folder, with tons of files containing as following,
on /my/folder/jobs/
some_name_2016-01-17-22-38-58_some name_0_0.zip.done
some_name_2016-01-17-22-40-30_some name_0_0.zip.done
some_name_2016-01-17-22-48-50_some name_0_0.zip.done
and these can be lots of similar files,... (6 Replies)
Discussion started by: charli1
6 Replies
10. UNIX for Beginners Questions & Answers
A process xyz is running and creating file1, file2, file3, .... filen. how do i know if the process has stopped and createtime of the last file (filen) is older than 5 minutes?
OS is AIX (3 Replies)
Discussion started by: malaika
3 Replies
LEARN ABOUT DEBIAN
rotter
ROTTER(1) ROTTER(1)
NAME
rotter - a recording of transmission / audio logger for JACK
SYNOPSIS
rotter [options] <directory>
DESCRIPTION
Rotter is a Recording of Transmission / Audio Logger for JACK. It was designed for use by radio stations, who are legally required to keep
a recording of all their output. Rotter runs continuously, writing to a new file every hour.
Rotter can output files in two different strutures, either all files in a single directory or create a directory structure:
flat: /root_directory/YYYY-MM-DD-HH.suffix
hierarchy: /root_directory/YYYY/MM/DD/HH/archive.suffix
combo: /root_directory/YYYY/MM/DD/HH/YYYY-MM-DD-HH.suffix
dailydir: /root_directory/YYYY-MM-DD/YYYY-MM-DD-HH.suffix
The advantage of using a folder hierarchy is that you can store related files in the hour's directory.
OPTIONS
-a
Automatically connect JACK ports to the first two JACK input ports found.
-f <format>
Select the output format of the log files. See the rotter help screen for a list of supported output format names.
-b <bitrate>
Select the bitrate (in kbps) of the log file. This parameter is only supported by bitstream formats (MPEG Audio).
-c <channels>
Set the number of input channels to be logged. This number of JACK ports will be created. Should either 1 or 2.
-n <name>
Choose the name of the Jack client to register as.
-N <filename>
Choose a filename prefix for the archive files created (default archive).
-d <hours>
Specifies the number of hours of audio to keep before it is deleted. Files are deleted at the start of every hour, based on the files
modification date. Default is to not delete files.
-R <secs>
Sets the length (in seconds) of the ringbuffer. This is the buffer between the internal audio grabber and the audio encoder. If you
have a slow machine you might want to try increating the size of the buffer.
-L <layout>
Choose a file layout option for the archive files created. See above for a list.
-j
By default rotter will automatically try and start jackd if it isn't running. This option disables that feature.
-v
Enable verbose mode. Display more messages about what rotter is doing.
-q
Enable quiet mode. Only display error messages.
EXAMPLES
rotter -a -f mp3 -d 1000 -b 160 -v /var/achives
Start logging audio to hourly files in /var/archives. Rotter will automatically connect itself to the first two JACK output ports it finds
and encode to MPEG Layer 3 audio at 128kbps. Each hour it will delete files older than 1000 hours (42 days). Verbose mode means it will
display more informational messages.
AUTHOR
Written by Nicholas J Humfrey
RESOURCES
Web site: http://www.aelius.com/njh/rotter/
COPYING
Copyright (C) 2006-2007 Nicholas J Humfrey. Free use of this software is granted under the terms of the GNU General Public License (GPL).
10/03/2010 ROTTER(1)