Advertisement
Guest User

Untitled

a guest
Apr 7th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.66 KB | None | 0 0
  1. Given this config file:
  2.  
  3. ```YAML
  4. credentials:
  5. ftp://ftp.someserver.com:
  6. user: foo
  7. pass: bar
  8. path: /path/to/logs
  9.  
  10. ftp://ftp.otherserver.com:
  11. user: foo
  12. pass: bar
  13. path: /path/to/logs
  14.  
  15. s3://cdnlogs.prd.somewhere:
  16. user: AKIAI3RBQKHXT23U6EAA
  17. pass: djs8djwjbjbhds8uq8dl280r8g08a09X8XJDJFCbcsEr
  18. path: /target/directory
  19.  
  20. s3://cdnlogs.stg.somewhere:
  21. user: AKIAI8A8QUDLJQUSDNAA
  22. pass: djs8djwjr8g08a09X8XJDJFCbcsErbjbhds8uq8dl280
  23. path: /target/directory
  24. ```
  25.  
  26. And this command line:
  27.  
  28. ```bash
  29. move_logs ftp://ftp.edgecast.com s3://cdnlogs.stg.jwplatform
  30. ```
  31.  
  32. Do the right thing.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement