Jump to content

[bash] cannot see sub directory on backups!!


This topic is 5707 days old. Please don't post here. Open a new topic instead.

Recommended Posts

hello all,

I updated an Apple PM g4 from 10.2.8 to 10,3.9 OS X version.

I scheduled some tasks on my cron tab (in fact the same cron tab used on 10,2.8).

This cron makes a 'rendundant' back up of the back up files saved in a Volume (a remote apple g5 machine).

this is the path:

/Volumes/Macintosh HD/Library/FileMaker Server/Data/Backups

the terminal application autofill help me to reach this path but, when I try to move to a sub dir (we can call it xxx) with

cd xxx command, the out put notify me that xxx doesn't exists! (I know this is not true).

I try the same thing on a 10.2.8 eMac and the same path works properly!!!

Could you help me to understand this?

This directory is the only one which shows me this behaviour.. the others (xslt-templates-files included) are reachable and I can copy them from G5 to G4!!

PS: filemaker server adv. 8 on G5 10.4.2

Link to comment
Share on other sites

Some ideas:

1. I think the default login shell changed from 10.2 to 10.3 (to bash or something?) You might need some syntax changes in your bash script? Note that cron jobs often run under a different shell than Terminal logins.

2. Filename quoting? Since you have spaces in the filename, be careful of escaping these. Either quote the whole thing "A filename with spaces" or escape it properly , e.g. A Filename with spaces

Link to comment
Share on other sites

This topic is 5707 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.