Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I want to setup automatic backup on schedule from my mac to amazone s3. I'm using for this purpose launchd + s3cmd.

s3cmd is working fine in But launchd can't run s3cmd. I see in system.log errors like:

Mar  5 12:48:17 kinds-MacBook com.kind.s3cmd[13060]: ERROR: Can't find a config file. Please use --config option.
Mar  5 12:48:17 kinds-MacBook[1] (com.kind.s3cmd[13060]): Exited with exit code: 1

Looks like launchd has different from Bash environment.

How can I use s3cmd with launchd?

share|improve this question

migrated from Mar 8 '11 at 11:34

This question came from our site for professional and enthusiast programmers.

up vote 0 down vote accepted

RTFM as usual:

s3sync needs to know several interesting values to work right. It looks for them in the following environment variables -or- a s3config.yml file. In the yml case, the names need to be lowercase (see example file). Furthermore, the yml is searched for in the following locations, in order:


share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .