S3Sync.net
February 02, 2014, 01:19:07 PM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
S3Sync.net
>
General Category
>
Questions
>
Help with python subprocess.call on s3cmd sync
Pages: [
1
]
« previous
next »
Print
Author
Topic: Help with python subprocess.call on s3cmd sync (Read 6220 times)
peteknut
Newbie
Posts: 1
Help with python subprocess.call on s3cmd sync
«
on:
December 03, 2009, 02:45:47 AM »
I'm having a tough time using a subprocess.call to run s3cmd
here is where I'm stuck:
subprocess.call(["python", "s3cmd","sync", "C:\filepath", "S3://bucketpath"])
other lines have worked fine such as:
subprocess.call(["python", "s3cmd", "ls" "S3://bucktpath"])
Thanks for your help!!
I'm really stuck on this.
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Help with python subprocess.call on s3cmd sync
«
Reply #1 on:
December 04, 2009, 05:51:06 PM »
I don't understand where you're coming up with your syntax. s3cmd has no argument "sync". There's no "S3:://". I think you may have confused my code with someone else's tools....
Logged
lejarrag
Newbie
Posts: 16
Re: Help with python subprocess.call on s3cmd sync
«
Reply #2 on:
May 20, 2010, 04:27:02 PM »
There is guy by the name of Michal Ludvig who wrote a script in Python called "s3cmd" with that syntax:
http://s3tools.org/s3cmd
I didn't try that code.
Logged
ferrix
Sr. Member
Posts: 363
(I am greg13070 on AWS forum)
Re: Help with python subprocess.call on s3cmd sync
«
Reply #3 on:
May 20, 2010, 09:38:26 PM »
Yeah s3cmd is a name of more than one thing. That's probably what it was.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> Announcements
=> Questions
=> General Discussion
=> Report Bugs
===> Closed Bugs
=> Feature Requests
Loading...