[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: bash script to convert, compress



2012/12/27 <tsitras@linuxmail.org>
Hi. i am running debian 6.0.6 and i am banging my head to create a simple script that will run periodically (through cron).
i do have a whole lot of wav files in opt/wavfiles and i do need:
-convert them to mp3
-delete the wav files that have been converted to mp3
-compress the files and move the compressed file to /opt/mp3backups
is there a simple script ready for the job?


a good starting point is
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-12.html#ss12.2

...add relevant lines according to your needs

regards
-r



--
L'unica speranza di catarsi, ammesso che ne esista una, resta affidata all'istinto di ribellione, alla rivolta non isterilita in progetti, alla protesta violenta e viscerale. (V. Evangelisti)

Reply to: