4

Spaces in filenames screwing things up...

view full story
linux-howto

http://www.unix.com – Here's the code... obviously Code: #!/bin/bash SRC=$1  function main {         validate         run } function validate {         if [[ -z $SRC ]]; then                 printf "You need to supply a source.\n";                 exit 1;         elif [[ -f $SRC ]]; then                 printf "This is a file! You need to specify a directory.\n"; (HowTos)