The sort | awk seems to be entirely unrelated to this problem. It should not be inside the for loop if you don't really mean for it to also operate on each file in *.txt separately (then similarly using "$file" as the argument to sort instead of *.txt).
I need to create a file through a c-shell script which contains only the date and time that the file was created. Does anyone know a simple way to do this?
Thank you,
Paula (7 Replies)
Hi, I am new to Shell programming, can any one help me with a shell program which can find a file and the rename it with a current datestamp and move it to a different directory. Advices/suggestions are welcome and Thanks in advance. :) (6 Replies)
Could someone tell me how to get the date/time (to the second) a file was last modified? I need to know if a file was modified in the last 30 seconds from the system date. I'm on AIX/unix 4.3 (3 Replies)
I want to read a log file from a particular location.In the logfile , lines contains timestamp.I need to compare the timestamp in the logfile with the current date.If the timpestamp in the log file is less than 4 hours then i need to read the file from that location.Below is the file format.Please... (1 Reply)
HI all,
How can i rename some files and replace the special character in the name with todays date
ex: Name#file1.txt
Name#file2.txt
to be renamed as
Name.20091119.file1.txt
Name.20091119.file2.txt (11 Replies)
I want to get maximum/minimum date/timestamp from a data file ?
Sample Input File
=============
rec#,order_dt,ext_ts
1,2010-12-01,2010-12-01 17:55:23.222222
2,2011-11-05,2010-12-01 19:55:23.222222
3,2009-10-01,2010-12-01 18:55:23.222222
for above file
Maximum Order_dt = 2011-11-05... (5 Replies)
Hi,
In a field, I should receive the date with time stamp in a particular field. But sometimes the vendor sends just the date or the timestamp or correctl the date×tamp. I have to figure out the the data is a date or time stamp or date×tamp.
If it is date then append "<space>00:00:00"... (1 Reply)
Hi,
I have many files in the source directory but I need to process with the latest timestamp file.
I am using linux operating system. i want extract the file created timestamp( Ext_File_create_date=)
With this format YYYYMMDD-
i have searched the relevent command in the unix forms but did... (5 Replies)
Hello,
I have files that with a naming convention as shown below. Some of the files have dates in the file name and some of them don't have dates in the file name.
imap-hp-import-20150917.txt
imap-dell-gec-import-20150901.txt
imap-cvs-import-20150915.txt
imap-gec-import.txt... (8 Replies)
Discussion started by: Saanvi1
8 Replies
LEARN ABOUT DEBIAN
spd-say
SPD-SAY(1) User Commands SPD-SAY(1)NAME
spd-say - send text-to-speech output request to speech-dispatcher
SYNOPSIS
spd-say [options] "some text"
DESCRIPTION
spd-say sends text-to-speech output request to speech-dispatcher process which handles it and ideally outputs the result to the audio sys-
tem.
OPTIONS -r, --rate
Set the rate of the speech (between -100 and +100, default: 0)
-p, --pitch
Set the pitch of the speech (between -100 and +100, default: 0)
-i, --volume
Set the volume (intensity) of the speech (between -100 and +100, default: 0)
-o, --output-module
Set the output module
-l, --language
Set the language (iso code)
-t, --voice-type
Set the preferred voice type (male1, male2, male3, female1, female2, female3, child_male, child_female)
-m, --punctuation-mode
Set the punctuation mode (none, some, all)
-s, --spelling
Spell the message
-x, --ssml
Set SSML mode on (default: off)
-e, --pipe-mode
Pipe from stdin to stdout plus Speech Dispatcher
-P, --priority
Set priority of the message (important, message, text, notification, progress; default: text)
-N, --application-name
Set the application name used to establish the connection to specified string value (default: spd-say)
-n, --connection-name
Set the connection name used to establish the connection to specified string value (default: main)
-w, --wait
Wait till the message is spoken or discarded
-S, --stop
Stop speaking the message being spoken in Speech Dispatcher
-C, --cancel
Cancel all messages in Speech Dispatcher
-v, --version
Print version and copyright info
-h, --help
Print this info
ENVIRONMENT
SPEECHD_ADDRESS
specifies TCP endpoint where speech-dispatcher is listening and to which spd-say should connect. Has form of <method>:<address>,
where <method> is one of unix_socket and inet_socket. The <address> is either path to Unix domain socket if method is unix_socket,
of IP address if method is inet_socket.
SEE ALSO speech-dispatcher(1)
The full documentation for spd-say is maintained as a Texinfo manual. If the info and spd-say programs are properly installed at your
site, the command
info spd-say
should give you access to the complete manual.
spd-say 0.7.1 March 2011 SPD-SAY(1)