Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Given this config file:
- ```YAML
- credentials:
- ftp://ftp.someserver.com:
- user: foo
- pass: bar
- path: /path/to/logs
- ftp://ftp.otherserver.com:
- user: foo
- pass: bar
- path: /path/to/logs
- s3://cdnlogs.prd.somewhere:
- user: AKIAI3RBQKHXT23U6EAA
- pass: djs8djwjbjbhds8uq8dl280r8g08a09X8XJDJFCbcsEr
- path: /target/directory
- s3://cdnlogs.stg.somewhere:
- user: AKIAI8A8QUDLJQUSDNAA
- pass: djs8djwjr8g08a09X8XJDJFCbcsErbjbhds8uq8dl280
- path: /target/directory
- ```
- And this command line:
- ```bash
- move_logs ftp://ftp.edgecast.com s3://cdnlogs.stg.jwplatform
- ```
- Do the right thing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement