10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi, please help with below time conversion to minutes.
one column values:
2 minutes 16 seconds 420 msec
43 seconds 750 msec
0 days 3 hours 29 minutes 58 seconds 480 msec
11 seconds 150 msec
I need output in minutes(total elapsed time in minutes) (2 Replies)
Discussion started by: ramu.badugula
2 Replies
2. Shell Programming and Scripting
I have a lot number audio files in the MP3 proprietary format, I want to convert them to 'opus' the free and higher quality format, with keep metadata also.
My selection command-line programs are SoX (Sound eXchange) for convert MP3 files to 'AIFF' format in order to keep quality and metadata*... (1 Reply)
Discussion started by: temp-usr
1 Replies
3. Shell Programming and Scripting
Hi all,
Here is my script:
#!/bin/sh
while :;
do
sleep 1
date
done
Please, how can i change this script, i'd like to display the time only of two minutes (period) and exit ? Is that possible ?
Thank you so much for help.
Bests... (3 Replies)
Discussion started by: chercheur111
3 Replies
4. Shell Programming and Scripting
Hello,
i'm trying to write a script sh to convert the rights of a folder or file in a number.
Explain:
ls -l = rwxrwxrwx
so i must display 777.
Do you known where i can find so convert script
Thanks
Use code tags, thanks. (11 Replies)
Discussion started by: steiner
11 Replies
5. Shell Programming and Scripting
Hello All
I know the general Logic behind it but do not know the shell programming so much.
For Example, The Time is stored in a given Variable
if the Time is 0800 then i need to extract the last digits of the number and Add it to the Remaining Digit of the Number which is multiplied by... (7 Replies)
Discussion started by: Ajesh
7 Replies
6. UNIX for Dummies Questions & Answers
I want to run my shell script for every 15 minutes starting from 12:20AM. I am passing parameter GA to shell script.
Does this work? Any one please comment on this?
20 0-23/15 * * * xyz.sh 'GA' > xyz.log 2>&1 (9 Replies)
Discussion started by: govindts
9 Replies
7. Shell Programming and Scripting
OK, I am by no means a programmer...
I have been given the task to do some automation scripts. I have got most of it working from snippets I have found on the Web.
One requirement has me stumped.
The initial timing file created by the user is a comma delimited in the following format.... (4 Replies)
Discussion started by: autotuner
4 Replies
8. Shell Programming and Scripting
hi ,
i need a script to convert number into hexadecimal base
for example: 237=>ED
it s very important for me thank you in advance for you help (5 Replies)
Discussion started by: mips
5 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I need to move a certain number of files every 10 minutes from one folder to another. I have written the script below, however its not working, please advise.
#! /bin/ksh
start()
{
mv /test1/$(head -1000 /movetst) /test2/
sleep 600
}
stop()
{
exit
}
ls ti* >... (1 Reply)
Discussion started by: amitsayshii
1 Replies
10. Shell Programming and Scripting
How would you convert lets say a 1000 minutes to hours, minutes, seconds (1 Reply)
Discussion started by: Vozx
1 Replies