in reply to How could you make a script think it's running in its own directory?
#!/usr/bin/bash cd ~/other/BACKUP/ ./backup.pl [download]