Hi,
I have a problem.
I have some text files in a folder. The names can be like:
emp_20080307053015.dat
emp_20080306053015.dat
emp_20080305053015.dat
emp_20080304053015.dat
The date format appended is like yyyymmdd and timestamp.
What i need is i have to copy the latest file every... (3 Replies)
Hello all, this is my first post while i am trying to understand unix.
I would basically like to know if i can do this:
Lets say i have a folderA and folderB
And i save something in folderA
Can i make a script that checks folderA latest file, then compares it with the date of latest file in... (16 Replies)
Hi,
I want to download the latest file published on remote server using SFTP connection.
The job will run at every 15 min hence should download only the latest file. The fileName will be like ABC_DDHHMISS.txt (DD- day, HH-hour, MI - Min, SS-Sec).
So there will be files with same date for... (23 Replies)
Hi All,
I am SFTP ing file from Windows server (Sydney) to Unix host in London (both servers are on different timezones). It appears the upstream (Windows server team) does not do a file housekeeping activity and henceforth there are multiple files i.e. each week the script is scheduled to run... (1 Reply)
Hi All,
In my unix server, I have the following files:
h1.txt
h2.txt
h3.txt
and through SFTP i need to copy only the latest file to another unix server.
Can you please let me know what command i need to use.
Thanks in Advance, (2 Replies)
#!/bin/bash
for i in {1..1536..1}
do
#find /home/test/Desktop/up111/workplace/Malware/$i/logs
for a in /home/test/Desktop/up111/workplace/Malware/$i/logs/*
do
#max=a
for b in /home/test/Desktop/up111/workplace/Malware/$i/logs/*
do
... (4 Replies)
Hi All,
One job in unix server will generate .csv files daily. I need to copy the latest of these .csv file from the unix server to the shared drive/folder in windows through unix script. My shared folder will look something like
W:\some folder(for example). Could any one of you please help... (3 Replies)
Hi All,
I need your help in finding the latest files in remote sftp and get those files to local server and process them. Please let me know
I appreciate your valuable inputs.
Thanks
raj (7 Replies)
hi,
i have some file in a directory say
p1.txt.201305051200.lst
p1.txt.201305051300.lst
p1.txt.201306051200.lst
p1.txt.201306051300.lst
p2.txt.201306051200.lst
p2.txt.201306051300.lst
i am using p* pattern to retrieve these file
ls -1 p*
the files in red color are the latest... (7 Replies)
hi guys the script is working but i need to change the file that i want to get to the latest.. i will use this as cron so i can get the latest sftp file evryday.
pls help..
set user "big_user"
set IP "XX.XX.XX"
set dir "/export/home/oracle/REF/INPUT"
spawn sftp $user@$IP
expect sftp>
... (7 Replies)
Discussion started by: JONATHAN0919
7 Replies
LEARN ABOUT DEBIAN
jack-stdin
JACK-STDIN(1) General Commands Manual JACK-STDIN(1)NAME
jack-stdin - write JACK audio data to stdin
SYNOPSIS
jack-stdin [OPTIONS] port1 [ port2 ...]
DESCRIPTION
jack-stdin reads raw audio data from standard-input and writes it to a JACK audio port.
The number of given ports detemine the number of audio channels that are used. If more than one channel is given, the input audio-sample
data needs to be interleaved.
OPTIONS -b, --bitdepth BITS
Specify the bit-depth of each sample. For integer-encoding this can be 16 or 24. The default is 16. This setting is only used for
integer encoding: Floating-point samples will always be 32 bit wide.
-d, --duration SEC
Specify the time for which jack-stdin should run in seconds. A value less than 1 means to run indefinitely. The default is 0 which
reads until end-of-file.
-e, --encoding FORMAT
Set the input format of the data: signed-integer, unsigned-integer, floating-point (default: signed)
-f, --file FILENAME
Read data from given file instead of standard-input.
-h, --help
Print a brief usage information
-p, --prebuffer PERCENT
Pre-fill the buffer before starting audio output to JACK (default 50.0%). NOTE: disable pre-buffering (-p 0) or use a small buffer
size to play back very short samples.
-L, --little-endian
The input-data is in little-endian byte-order or native-byte-order float (this is the default)
-B, --big-endian
Interpret input audio data in big-endian byte-order or swap the byte-order of floating-point.
-q, --quiet
Inhibit usual output. This affects information and buffer-overflow warnings but not setup-errors.
-S, --bufsize SAMPLES
Choose the internal buffer-size in samples. The default size is 65536. The given value will be multiplied by the number of channels
and bit-depth to get the size of the ring-buffer. Note: the buffersize must be larger than JACK's period size.
EXAMPLES
jack-stdout vlc_31994:out_1 vlc_31994:out_2
| sox -t raw -r 48k -e signed -b 16 -c 2 -
-t raw -r 48k -e signed -b 16 -c 2 -
tremolo 5 100
| ./jack-stdin system:playback_1 system:playback_2
cat /dev/dsp
| jack-stdin system:playback_1 system:playback_2
KNOWN ISSUES
jack-stdin is not suitable to play-back files shorter than twice the jack-period size.
AUTHOR
Robin Gareus <robin@gareus.org>.
SEE ALSO
http://jackaudio.org/,
30 March 2011 JACK-STDIN(1)