LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-15-2014, 05:09 PM   #1
skoda
Member
 
Registered: Jun 2013
Posts: 111

Rep: Reputation: Disabled
Browsing Amazon S3 FIles from Shell


Hello

Quote:
[root@host ~]# s3cmd ls s3://whm/daily/
DIR s3://whm/daily/2014-05-04/
DIR s3://whm/daily/2014-05-07/
DIR s3://whm/daily/2014-05-10/
DIR s3://whm/daily/2014-05-12/
DIR s3://whm/daily/2014-05-15/
2014-04-22 09:30 0 s3://whm/daily/
now how do i CD in to above directories?

i want list all the files inside 2014-05-15 backup folder for copying them to /home in our server.
 
Old 05-16-2014, 08:47 AM   #2
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,247
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
You don't "cd" into them.
See Download from S3

s3cmd ls <dir>

see also
Code:
man s3cmd
or
Code:
s3cmd --help
 
Old 06-09-2014, 03:17 PM   #3
skoda
Member
 
Registered: Jun 2013
Posts: 111

Original Poster
Rep: Reputation: Disabled
sorr for the late reply.
Thanks habitual for your time. works charm now!
 
Old 06-09-2014, 04:40 PM   #4
Habitual
LQ Addict
 
Registered: Jan 2011
Posts: 8,247
Blog Entries: 11

Rep: Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287Reputation: 2287
Glad to be of help.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Amazon Linux AMI(Amazon Machine Image) - ec2 server - query about pem file unclesamcrazy Linux - Newbie 11 11-27-2014 04:31 PM
Amazon Slackware browsing Ratmonkey Slackware 1 01-24-2014 02:02 PM
Amazon MP3 no longer allowing Linux to download .azw files caboog General 8 01-03-2013 11:16 AM
[Shell Script] How to fetch wishlist from amazon XXLRay Programming 13 08-11-2010 12:34 AM
browsing windows files usr_208 Linux - Newbie 1 07-23-2004 10:06 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration