how to pass variables to s3cmd in a script file

view full story

http://www.unix.com – Hi All, How to pass the variable to s3cmd put command? I’m trying to use this command in a script as below: Code: s3cmd put ${upload_path} s3://${upload_dest} where Quote: upload_path=/home/eng/test.file upload_dest=mybucket/ With the above command in script, the file is not getting uploaded. Please help!!! (HowTos)