-
or more minialistic (without using wc):
if [ -n "$(find ${BBBURNDIR} -iname "*.[Mm][Pp]3")" ].
2007-07-26 21:38:31 UTC by mazdac
-
it works if you write line 25 (and, of course, the same to ogg and flac) like this:
if [ $(find ${BBBURNDIR} -iname "*.[Mm][Pp]3" | wc -l) -gt 0 ]
^^^^^^^.
2007-06-09 14:16:08 UTC by nobody
-
"I modificated" should be "I modified".
2007-05-21 21:57:36 UTC by mazdac
-
Hello,
I modificated BashBurn to write and read config file in current user home directory. Now, it allows to write settings without having permission to write files in /etc directory. Attached tared and bziped patches to BashBurn.sh and confi/apply_options.sh. I based on 2.0 version.
Regards,
mazdac.
2007-05-20 19:27:49 UTC by mazdac
-
It would be nice with native cdrkit-support. More and more distributions are moving away from Jörg Schilling and cdrecord and symlinks to cdrecord and its relatives will not survive forever.
2007-05-03 02:52:08 UTC by rehabdoll
-
mp3/ogg/flac detection didn't work for me, it returned this error if no mp3s were found:
/usr/local/BashBurn/func/audiofunc.sh: line 25: [: -gt: unary operator expected
and this if more than one were found:
/usr/local/BashBurn/func/audiofunc.sh: line 25: [: too many arguments
so i figured out that when it finds some files, bash expands
if [ $(find ${BBBURNDIR} -iname "*.[Mm][Pp]3") -gt 0 ];...
2007-04-07 12:33:54 UTC by mips_tian
-
Anonymous committed patchset 1 of module CVSROOT to the BashBurn CVS repository, changing 11 files.
2003-12-18 15:12:18 UTC by nobody
-
registered the BashBurn project.
2003-12-17 18:43:49 UTC by