Sponsored Content
Top Forums Shell Programming and Scripting how to list files between last 6 hours to 3 hours Post 302300954 by vgersh99 on Wednesday 25th of March 2009 12:34:29 PM
Old 03-25-2009
use forum's 'Search' function for similar threads - search for 'newer'.
This is one of the threads you might find useful.
'man find'
'man touch'
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

delete files that are over 2 hours old

guys, I have a need for a script that will delete all files in a given directory that are over 2 hours old. I will set this up to run in cron. I'm having a little trouble coming up with the syntax that will identify these files. Is there a variation of the ls command that I can use to identify... (3 Replies)
Discussion started by: hedrict
3 Replies

2. UNIX for Dummies Questions & Answers

Finding only those files older than 2 hours

I need to write a program that will only remove those files that are older than 2 hours. Is there some variation of find . -mtime ? -name '*' that I can use? Thanks as always for your help. Regards, Dave :) (2 Replies)
Discussion started by: mh53j_fe
2 Replies

3. Shell Programming and Scripting

Files created in last 24 hours

I need a script which list the files which is starting with the word heap*** and that is created before past 24 hours.I need the script using find command. please help me on this. (1 Reply)
Discussion started by: jayaramanit
1 Replies

4. Shell Programming and Scripting

list the file created before 24 hours using ls command

I want to list the files created before past 24 hours using ls command. please help me on this (7 Replies)
Discussion started by: jayaramanit
7 Replies

5. Shell Programming and Scripting

How to find files by hours old?

I need to be able to do the following: Find files in multiple directories that are 6 hours older than the current time? I am using KSH I tried mmtime but it was not a valid option Any help would be great. Thank you! (2 Replies)
Discussion started by: llsmr777
2 Replies

6. Shell Programming and Scripting

files older than few hours

Hi All I need to know the command which can be used to list the files which are 3 hours old so that it can be deleted. (3 Replies)
Discussion started by: mskalyani9
3 Replies

7. Shell Programming and Scripting

ls files newer than 6 hours

How do I list al files in a folder with a creation date/time newer than 6 hours? (2 Replies)
Discussion started by: locoroco
2 Replies

8. Homework & Coursework Questions

list of files modified 10 hours ago using grep

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Here is the question: Make a list of files in your home directory that were changed less that 10 hours ago,... (3 Replies)
Discussion started by: fight4love
3 Replies

9. Shell Programming and Scripting

List of Running Jobs In Last 4 Hours

Hi Experts, Please help me in this. I am trying this code on AIX 5.3. I need list of jobs that executed in last 4 hours. I have a schedule on this script - cron executes it and sends mail to me for every 2 hours. I have a Job time and have around 100 jobs those execute daily. What all i need... (2 Replies)
Discussion started by: rajubollas
2 Replies

10. Shell Programming and Scripting

List files which access before 2 hours in solaris

Hi Friends, I want to the list the files in the folder which was access before 2 hours in Solaris. Thanks in advance...... (3 Replies)
Discussion started by: natraj005
3 Replies
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)
All times are GMT -4. The time now is 03:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy