Not currently. ls does not process --exclude or --include arguments at
all. Your pipe to grep is the best approach right now.
On Thu, May 15, 2014 at 10:23 AM, Ryan Golhar
<ngsbioinformat...@gmail.com>wrote:
> Hi all-
>
> I'm trying to use ls to list files with a specific filename patterns (e.g.
> *.bed or *.txt). For example 's3cmd ls s3://mybucket/*.txt'. However
> s3cmd returns an empty list.
>
> I find I have to do 's3cmd ls s3://mybucket | grep .txt'. Is there a way
> to get s3cmd to list files matching a specific pattern.
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> S3tools-general mailing list
> S3tools-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/s3tools-general
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
S3tools-general mailing list
S3tools-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/s3tools-general