copying avrdude and avrdude.conf into new directory does not work? (MAC / OSX )

I tried copying avrdude and the avrdude.conf file from within the Arduino application package on a mac and then placed it in a new folder along with the hex file I wanted to upload.

When I run avrdude it I get the following error:

$ avrdude -C avrdude.conf -v -v -v -v -patmega328p -cstk500v2 -Pusb -Uflash:w:test.hex:i avrdude: Version 6.0.1, compiled on Dec 16 2013 at 17:26:24 ** Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/** ** Copyright (c) 2007-2009 Joerg Wunsch** ** System wide configuration file is "avrdude.conf"** avrdude: can't open config file "avrdude.conf": No such file or directory avrdude: error reading system wide configuration file "avrdude.conf"

If I do the same thing on a windows machine it works no problem.

Try this...

avrdude -C ./avrdude.conf -v -v -v -v -patmega328p -cstk500v2 -Pusb -Uflash:w:test.hex:i

I get this error:

avrdude: can’t open config file “./avrdude.conf”: No such file or directory
avrdude: error reading system wide configuration file “./avrdude.conf”

Guess you're going to have to specify the full path.