[ubuntu] bash script if file exists statement not wroking

view full story

http://ubuntuforums.org – im working on some bash scripts that run on logon/off and backup the resume data for uTorrent so that it automatically copies the resume data to the other OS i boot into and resumes the torrents where i left off ( i have a quad boot :D). im currently working on the Ubuntu on/off scripts. i have Ubuntu 12.04. the problem is that i cant get the if file exists part to work: Code: if [ -f "/opt/utorrent-server-v3_0/resume.dat" ]; i know "/opt/utorrent-server-v3_0/resume.dat" exists as i get command not found in terminal. It always goes to the else, so im pretty sure some (Hardware)