Hi,
Is it possible for s3cmd to read from stdin and write to stdout?
I do level dumps that I save on a local disk. Although I do not want to gzip
them here (just makes retrieving a file from the dump that much slower) I do
want to gzip -9 the file before I put it into my S3 bucket.
Alternatively, can I use gzip as the encryption program, with the appropriate
flags in the encrypt and decrypt commands? I tried this but got a python
error--I may not have had the python syntax correct in the s3cfg file.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the following lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Problem: ValueError: incomplete format
S3cmd: 0.9.9
Python: 2.6.1 (r261:67515, Mar 2 2009, 17:31:26) [GCC 3.3.5 (propolice)]
Traceback (most recent call last):
File "/usr/local/bin/s3cmd", line 1562, in <module>
main()
File "/usr/local/bin/s3cmd", line 1542, in main
cmd_func(args)
File "/usr/local/bin/s3cmd", line 333, in cmd_object_put
exitcode, full_name, extra_headers["x-amz-meta-s3tools-gpgenc"] =
gpg_encryp
t(full_name_orig)
File "/usr/local/bin/s3cmd", line 1076, in gpg_encrypt
command = resolve_list(cfg.gpg_encrypt.split(" "), args)
File "/usr/local/bin/s3cmd", line 1054, in resolve_list
retval.append(item % args)
ValueError: incomplete format
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
An unexpected error has occurred.
Please report the above lines to:
[email protected]
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks!
Jeff Ross
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
S3tools-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s3tools-general