1
vote
2answers
181 views

bash “pass through” script for android build, space issue

I have an android build i need to customize, the question is ehre and not in stackoverflow because my issue wis with bash. I wrote a script: #!/bin/bash -xv params=$@ if [ "$#" -ge "2" ]; then ...
2
votes
1answer
4k views

Handle filename with spaces inside Bash-script

In my Bash-script i have to handle filenames with spaces. These are the important lines inside my script: mp3file="/media/d/Music/zz_Hardcore/Sampler/Punk-O-Rama\ Vol.5\ \[MP3PRO\]/01\ -\ Nofx\ -\ ...
10
votes
8answers
11k views

Making BASH script `for` handle filenames with spaces (or workaround)

Whilst I have been using BASH for several years, my experience with BASH scripting is relatively limited. My code is as below. It should grab the entire directory structure from within the current ...