If there really is the need to compress audio data, then + 1 for lossless
codecs and if I need a simple date output e.g. to dump freebsd, I'm using
dumpstart=$(date "+%Y%m%d_%H%M%S")
but with "date" you can do nice things, when using UNIX time, that aren't
that simple too.
--
To UNSUBSCRI
Bob Proulx wrote:
> File wav2z or some such name. Use 'oggenc' if you prefer instead of
> 'flac'.
>
> #!/bin/sh
> flac "$1" && rm "$1"
>
> Call it from find. No need for xargs. Better without.
>
> find . -mtime $AGE -exec wav2z {} +
>
> These can also be combined into a single find com
Kelly Clowers wrote:
> tsit...@linuxmail.org wrote:
> > #!/bin.bash
> > FILES=`find . -mtime -30 | xargs`
> > tar --no-recursion -czf backup_feb_2013.tgz "${FILES}"
> > rm -rf "${FILES}"
> >
> >
> > the compressed files have the following format
> >
> > g303-20130205-060552-1360037152.419.wav
> >
>
On Tue, Feb 19, 2013 at 6:24 AM, wrote:
> hello fellas. i was looking for a way to compress files (.wav) older than 30
> days.
>
> i created a small script to do the job.
>
>
> #!/bin.bash
>
> FILES=`find . -mtime -30 | xargs`
> tar --no-recursion -czf backup_feb_2013.tgz "${FILES}"
> rm -rf "${F
On Tue, Feb 19, 2013 at 09:24:23AM -0500, tsit...@linuxmail.org wrote:
> hello fellas. i was looking for a way to compress files (.wav) older than 30
> days.
> i created a small script to do the job.
> #!/bin.bash
>
> FILES=`find . -mtime -30 | xargs`
> tar --no-recursion -czf backup_ *feb*_2013.
Tom Grace grabbed a keyboard and wrote:
> On 19/02/13 14:24, tsit...@linuxmail.org wrote:
>> any suggestions please?
>
> Have a look at the output of "date --help", under the FORMAT section.
> You want something like "date +%b" to get "Feb". You might also consider
> naming the files year-numerica
Le Mar 19 février 2013 15:37, Darac Marjal a écrit :
> On Tue, Feb 19, 2013 at 09:24:23AM -0500, tsit...@linuxmail.org wrote:
>
> Fellas and Dames, if you please.
>
> [cut]
>
> man date
>
I must admit, I prefer having dates with Dames than with Fellas :D
--
To UNSUBSCRIBE, email to debian-user-
Le Mar 19 février 2013 15:24, tsit...@linuxmail.org a écrit :
> hello fellas. i was looking for a way to compress files (.wav) older than
> 30 days.
> i created a small script to do the job. #!/bin.bash
>
>
> FILES=`find . -mtime -30 | xargs`
> tar --no-recursion -czf backup_ *feb*_2013.tgz "${FILE
On 19/02/13 14:24, tsit...@linuxmail.org wrote:
> any suggestions please?
Have a look at the output of "date --help", under the FORMAT section.
You want something like "date +%b" to get "Feb". You might also consider
naming the files year-numerical_month to make sorting easier later.
--
To UNSU
On Tue, Feb 19, 2013 at 09:24:23AM -0500, tsit...@linuxmail.org wrote:
>hello fellas. i was looking for a way to compress files (.wav) older than
>30 days.
Fellas and Dames, if you please.
>
>i created a small script to do the job.
[cut]
>
>any suggestions please?
>
man date
10 matches
Mail list logo