[unix] $1 (full path) doesn't work with spaces in path

Come up with a useful post-processing script? Share it here!
Post Reply
Dephcon
Release Testers
Release Testers
Posts: 10
Joined: March 20th, 2009, 1:29 pm

[unix] $1 (full path) doesn't work with spaces in path

Post by Dephcon »

Hello,

I'm a bit new to unix, just wondering how I can get $1 to work when there are spaces in the path?


Script
    /mnt/cache/.custom/sickbeard/autoProcessTV/nfo.sh: line 3: cd: /mnt/cache/.downloads/Movies/Harold: No such file or directory (More)

Path
    /mnt/cache/.downloads/Movies/Harold and Kumar 2 Unrated Rerip 720P Bluray X264 Septic

Thanks!
Dephcon
Release Testers
Release Testers
Posts: 10
Joined: March 20th, 2009, 1:29 pm

Re: [unix] $1 (full path) doesn't work with spaces in path

Post by Dephcon »

awesome, thanks dude.
Post Reply