Sponsored Content
Top Forums Shell Programming and Scripting How to pick only the files which are generated in one hour? Post 302769210 by DGPickett on Monday 11th of February 2013 02:18:01 PM
Old 02-11-2013
Touch two files with the right times and "find ... -type f -newer low_time ! -newer high_time"?
This User Gave Thanks to DGPickett For This Post:
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

How to list all the files which are not generated today

How to list all the files which are not generated today, and move all the above files to backup dir. (2 Replies)
Discussion started by: redlotus72
2 Replies

2. Shell Programming and Scripting

Ftp all the generated files

Hi All, I'm working on a ftp shell script in which I'm tranfering files from one sever to another using ftp. Some program generates files at undefined time & throughout the day. I have to transfer the files time to time.. i.e. once the file is generated, it should be transfered at the very... (3 Replies)
Discussion started by: im_new
3 Replies

3. UNIX for Advanced & Expert Users

Type v for generated files

Hi All, I was checking some of the files and I got the following entries:- =============== v, 664, serv, serv, version.txt, exe L, 775, serv, serv, start.sh, eventserv ================ Could someone please tell me what does the type"v" and "L" represent to. I have not... (2 Replies)
Discussion started by: shubhranshu
2 Replies

4. Shell Programming and Scripting

need to pick out files which are not of zero bytes

I need a scriptto print only those files from a list of files starting with STMT* which are not of zero bytes ...i.e they have some size if these are the files 631 -rw-r--r-- 1 assrisa assrisa 39099 Aug 19 07:16 STMT_05_D1090819_T071320 -rw-r--r-- 1 assrisa assrisa 0 Aug 19... (2 Replies)
Discussion started by: viv1
2 Replies

5. Solaris

core files not getting generated

Hi, We have an application ASPA . The application related processes are running in /ASPA/bin directory . now whenever a process terminates abruptly , a core file should be generated (correct me if i am wrong) in the /ASPA/bin directory . But i am not able to see any such files . The... (4 Replies)
Discussion started by: asalman.qazi
4 Replies

6. Shell Programming and Scripting

Getting list of files generated last 10 seconds

I was trying to figure out in Korn shell but this may apply elsewhere how to generate a list of files from a directory created in the last 10 seconds or less. I have used the find command in the past with -mtime which is measured in days to get a list of files older than say 7 days for example. ... (1 Reply)
Discussion started by: lee_murray
1 Replies

7. Shell Programming and Scripting

Files generated by a particular user

Hi I have the following files generated by different users on a directory -rw-rw-r-- 1 NAME1 database03 809 Nov 17 10:41 PCAS_CARD_TRANS_OFF.1111171041.lg -rw-rw-r-- 1 richard ccsdba 10968411 Nov 17 10:43 load_123_RX0_0.1111171016.lg -rw-rw-r-- 1 DEV db03 10713 Nov 17... (5 Replies)
Discussion started by: bobby1015
5 Replies

8. Shell Programming and Scripting

Files generated today

I would like to find the Files which are generated today in the current directory: I use the commad ls -lrt * | egrep " `date "+%b"` * `date "+%d"` to acheive this. Is there any better way to acquire the same. Multiple answers will be great. Thanks (3 Replies)
Discussion started by: kusathy
3 Replies

9. Shell Programming and Scripting

How to tail real time file Generated every hour?

Hi Guys, I am developing a script to monitor log file Generated every hour. When creating a new file scripts not working. My Code . I want to monitor GatewayTransaction.yyyymmdd-hh.log while true; do newdate=$(date '+%Y%m%d') ; nowdate=$(date '+%Y%m%d-%H.log'); tail -f... (7 Replies)
Discussion started by: ooilinlove
7 Replies

10. Shell Programming and Scripting

Pick the last one hour lines from log matching this pattern.

Hello please help me on this, pick the last one hour lines from the log, which have the prefix time format like this. log message log message i tried to do grep, but that failed. my code grep '(date +)' log_file_path This checking only the current time stamp. How to get the log... (16 Replies)
Discussion started by: santosh2626
16 Replies
isdn_audio(4)							   Special files						     isdn_audio(4)

NAME
isdn_audio - audio extension of ttyI ISDN character devices DESCRIPTION
This document describes the audio related extensions of the modem emulation, provided by /dev/ttyIx. The ISDN tty devices are equipped with a modem emulation implementing a set of traditional and some special AT commands. This provides easy use together with almost all communication software that uses modem commands: minicom(1), seyon(1), XCept(1), uucico(8), mgetty(8), dip(8), pppd(8) and more. When enabled during kernel configuration, the emulator is capable of a reduced set of commands to support audio. To use audio features, an ISDN card with a audio-capable low-level driver is needed. Currently the only audio-capable drivers are the teles and HiSax driver. The port speed of the ISDN tty devices is always 64000 bps. AUDIO RELATED AT COMMAND SET
This description does not include the standard AT command set. For a description of the standard AT command set, provided by the Linux ISDN subsystem, see ttyI(4). All commands starting with AT+ except AT+FCLASS are enabled only, if audio mode is active. The following audio related AT commands are supported by ISDN tty devices: AT+FCLASS=0 Disable audio mode (default). This command sets register 18 to 4. AT+FCLASS=8 Enable audio mode. This command sets register 18 to 5. AT+FCLASS=? Show possible modes. AT+FCLASS? Show current mode. AT+VNH=x No function, provided for compatibility only. AT+VNH=? Always showing "1". AT+VNH? Always showing "1". AT+VIP Reset all audio parameters. AT+VLS=x Select line x, where x is one of the following: 0 = No device. 2 = Phone line. AT+VLS=? Always showing "0,2". AT+VLS? Show current line. AT+VRX Start audio recording. See below for more information. AT+VSD=x,y Set silence-detection parameters. Possible parameters: x = 0 ... 31 sensitivity threshold level. (default 0 , deactivated) y = 0 ... 255 range of interval in units of 0.1 second. (default 70) AT+VSD=? Show possible parameters. AT+VSD? Show current parameters. AT+VSM=x Select audio data format to x, where x is: 2 = ADPCM-2 3 = ADPCM-3 4 = ADPCM-4 5 = aLAW 6 = uLAW AT+VSM=? Show possible audio data formats. AT+VSM? Show current audio data format. AT+VTX Start audio playback. See below for more information. GENERAL BEHAVIOUR
On incoming calls, if the application responds to a RING by sending ATA, depending on the calling service, the emulator responds with either CONNECT (data call) or VCON (voice call). When starting audio playback or recording, the emulator responds with CONNECT. After that, the data transfer protocol described below is used. It is possible to initiate full duplex data transfer by issuing AT+VRX+VTX in a single command. In this case, no CONNECT message is sent to the application and the protocol described below is started immediately. When stopping audio playback or recording, the message returned by the emulator depends on how the data transfer is stopped. If the data transfer is stopped by a remote hangup, NO CARRIER is sent to the application, while stopping data transfer with one of the DLE sequences, VCON is sent. In any case, the message is preceeded by the appropriate DLE sequence for end of audio data and/or abort respectively. On outgoing voice calls, the emulator responds with VCON upon connection setup. AUDIO DATA FORMAT
When recording or playing back audio data, a kind of modified bisync protocol is used. When recording audio data, the modem emulator is considered to be the sender, while the application is the receiver. When playing back, this relationship is reversed: The modem emulator acts as receiver, while the application is the sender. With the bisync protocol the character DLE (0x10) has a special meaning and is used like an escape character. It is always followed by a second character which has the following meanings defined: ETX (0x03) End of audio data. This code has to be sent by the sender, indicating end of audio data. DC4 (0x14) Abort sending. This code has to be sent by the receiver, when it wishes to abort receiving data. The sender has to reply by stop sending data and finally indicating end of audio data. DLE (0x10) a single byte with value 0x10 in the data stream. 0 Touch-tone "0" received. Valid only in direction from emulator to application. 1 Touch-tone "1" received. Valid only in direction from emulator to application. 2 Touch-tone "2" received. Valid only in direction from emulator to application. 3 Touch-tone "3" received. Valid only in direction from emulator to application. 4 Touch-tone "4" received. Valid only in direction from emulator to application. 5 Touch-tone "5" received. Valid only in direction from emulator to application. 6 Touch-tone "6" received. Valid only in direction from emulator to application. 7 Touch-tone "7" received. Valid only in direction from emulator to application. 8 Touch-tone "8" received. Valid only in direction from emulator to application. 9 Touch-tone "9" received. Valid only in direction from emulator to application. # Touch-tone "#" received. Valid only in direction from emulator to application. * Touch-tone "*" received. Valid only in direction from emulator to application. A Touch-tone "A" received. Valid only in direction from emulator to application. B Touch-tone "B" received. Valid only in direction from emulator to application. C Touch-tone "C" received. Valid only in direction from emulator to application. D Touch-tone "D" received. Valid only in direction from emulator to application. AUTHOR
Fritz Elfert <fritz@isdn4linux.de> SEE ALSO
ttyI(4). ISDN 4 Linux 3.13 1999/09/06 isdn_audio(4)
All times are GMT -4. The time now is 05:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy