Cyrus
October 21st, 2005, 05:51 PM
Hi,
I am writing a small bash script which gets a String as parameter (the path to the files). How can I add this String with the filename?
FOLDER="$1"
for i in *.flac;
do metaflac --remove-all-tags --import-tags-from="$FOLDER"`basename $i .flac`.tag $i;
done
It is basically the part between folder and basename - in Java I would put a + between ...
I am writing a small bash script which gets a String as parameter (the path to the files). How can I add this String with the filename?
FOLDER="$1"
for i in *.flac;
do metaflac --remove-all-tags --import-tags-from="$FOLDER"`basename $i .flac`.tag $i;
done
It is basically the part between folder and basename - in Java I would put a + between ...