Sponsored Content
Full Discussion: File name extensions
Top Forums Shell Programming and Scripting File name extensions Post 10078 by thurrock on Wednesday 7th of November 2001 12:05:23 PM
Old 11-07-2001
Bug thanks

fantastic - it works!!! - you are a genius!!!
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Truncate multiple file extensions

Hi, I have files with names like file1.txt.txt.txt.txt and file2.txt.txt.txt.txt.txt............ (random infinite number of .txt exist). how to truncate (mv) their names to ones with single .txt extension like file1.txt and file1.txt ? In other words, how to extract the filename upto first... (12 Replies)
Discussion started by: prvnrk
12 Replies

2. Shell Programming and Scripting

Batch changing file extensions

We are moving from an OpenVMS server to a Unix server and I have a problem with ftp'ing files. When I ftp the VMS server from the Unix server, I need to "mget" some files, for example "mget test_file*.txt;". The semicolon is necessary because OpenVMS has multiple versions of the file (eg... (5 Replies)
Discussion started by: cdines
5 Replies

3. Shell Programming and Scripting

File extensions in a dir

Hi All, Is there a way to list all file extensions in a directory and its recursive dirs? Thanks (5 Replies)
Discussion started by: ganga.dharan
5 Replies

4. UNIX for Dummies Questions & Answers

Find all the unique file extensions

Hi How can i find the unique list of file extensions in a folder/subfolders e.g. MAIN/ a.txt b.txt a.clas a.java b.class a.txt.112 c.12.ram.jar i just need to get the below out irrespective of file being present in folder or subfolders txt clas java (5 Replies)
Discussion started by: reldb
5 Replies

5. Shell Programming and Scripting

Checking file extensions

I am trying to store file with certain file extensions to list but having some problems. Here is a part of the code set fryLst = "" set fxtLst = "" foreach f ($AfullNameLst) set fname = $f:r set fext = $f:e if ("$fext" == ".ry") set fryLst = "$fryLst $f" if ("$fext" == ".xt")... (2 Replies)
Discussion started by: kristinu
2 Replies

6. Shell Programming and Scripting

Checking file extensions

I'm in csh and have a list of file names, example set Lst = "file1.ry file2.ry file3.ry file4.ry" I want to check if all the extensions are ry. Is they are, I want to do something. (1 Reply)
Discussion started by: kristinu
1 Replies

7. Shell Programming and Scripting

rename file, add extensions

Hi Guys, I have files named myfileaa,myfileab,myfileac,myfilesad.... till myfileav. Now i needs to rename all these files to myfileaa.txt ,myfileab.txt,myfileac.txt. Please help me how to do the same. Thanks in advance..!!! (4 Replies)
Discussion started by: jaituteja
4 Replies

8. Shell Programming and Scripting

Search for file extensions in the given directories

Hey guys, I'm lost... I need to make a script that will work in this way: ./script.sh -e sh /usr/bin /home/student this script will result in this output: amuFormat.sh /usr/bin gettext.sh /urs/bin perfect.sh /home/student the parameter -e <ext> gives you which... (2 Replies)
Discussion started by: Miki1579
2 Replies

9. Shell Programming and Scripting

Remove comments from file with specific file name extensions

Hello Unix board community, I have to program a shell script, but I am a complete noob so I hope I get some help here. The assignment is as follows: The program removes all comments regardless of formatting or language from files with specific file name extensions (php, css, js, ...).... (3 Replies)
Discussion started by: TheZeusMan
3 Replies

10. Shell Programming and Scripting

Comparing file names with different extensions

Hello, I need some help. I have files in one and the same directory, but with different extensions, like this: file1.IN file2.IN file3.IN file1.OUT file2.OUT Apparently some files with OUT extension can be missing. So I want to compare *.IN and *.OUT, ignoring the extension and get result... (3 Replies)
Discussion started by: apenkov
3 Replies
qwavfade(1)							 quelcom man pages						       qwavfade(1)

NAME
qwavfade - fade in/out wav files SYNOPSIS
qwavfade [option]... file... DESCRIPTION
qwavfade modifies a wav file applying on it a fade in or a fade out or both. a fade consists in modifying progressively the level of the wav as if you were slowly increasing or decreasing the volume. a fade in con- sists in increasing the volume starting from a low level at the beginning of the wav. a fade out consists in decreasing the volume to a low level at the end of the wav. OPTIONS
-d <duration>[<format>], --duration=<duration>[<format>] duration is a positive integer that specifies the duration of the fade. the value is treated as a sample number unless a format specifier is used. see the FORMATS section below for information. the default value is five seconds. this option overrides the --length option explained below. -h, --help show a brief help and exit. -i, --in just fade in. don't fade out. by default, fade in and fade out. -l <time point>, --length=<time point> time point specifies the length(=duration) of the fade. see the TIME POINTS section below for information. this option is quite sim- ilar to the --duration option above. its easier to use though not as powerful than the previous one. the default value is five sec- onds. this option overrides the --duration option explained above. -o, --out just fade out. don't fade in. by default, fade in and fade out. -t, --test this option can be used to create and fade a tests files instead of modifying to original file. a test file will be created for each type of selected fade (in or out). the name of the test file will be fadein.<file> or fadeout.<file. the duration of the test files is the fade duration plus two seconds. -v, --verbose show more detailed info. -V, --version show version and exit. TIME POINTS
the time points is a easier way to specify the length (or duration) of a fade with a millisecond resolution. here's its formal form: [h:[m:]]s[.ms] where h value is a positive integer meaning hours. m value is a positive integer meaning minutes. s value is a positive integer meaning seconds. ms value is a positive integer meaning milliseconds. only the seconds specifier is required. here are a couple of examples: 1:23:45.67 2:0.001 FORMATS
the --duration option can have also an optional modifier. if this modifier is not used, then the value provided with the corresponding cut option will be interpreted as a number of samples. since most of the times will be difficult to specify a duration in terms of samples, the following modifiers are provided: j value is interpreted as milliseconds. m value is interpreted as minutes. s value is interpreted as seconds. b value is interpreted as bytes. k value is interpreted as kbytes (1024 bytes). M value is interpreted as megabytes (1024 kbytes). in either case, the values specified will be rounded to get an integer number of samples. EXAMPLE
suppose you want to fade in and out the fantastic song live.in.concert.wav using a fade duration of 5 seconds: first we are going to test: qwavfade -t -d 7s live.in.concert.wav hear the test fades: my-favourite-wav-player fadein.live.in.concert.wav my-favourite-wav-player fadeout.live.in.concert.wav if you want to try with another duration, jump to the first step and change the duration argument. and if you're happy with the tests: qwavfade -d 5s live.in.concert.wav NOTES
qwavfade doesn't allow both types of fades (in and out) to overlap. if you want to fade in and out a wav file, and the two regions to fade overlap, then probably you made a mistake. in any case, you can do it fading separately. BUGS
tests has been done only with 44100 Hz 16 bit stereo files, though it may work with mono/stereo 8/16 bits files. AUTHOR
dmanye@etse.urv.es http://www.etse.urv.es/~dmanye/quelcom/quelcom.html SEE ALSO
qwavinfo(1), qwavjoin(1), qwavcut(1), qwavsilence(1), qwavheaderdump(1) qmp3info(1), qmp3join(1), qmp3cut(1), qmp3check(1), qmp3report(1) quelcom 0.4.0 february 2001 qwavfade(1)
All times are GMT -4. The time now is 08:24 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy