hadoop-common-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Georgi Ivanov <iva...@vesseltracker.com>
Subject Re: Regular expressions in fs paths?
Date Wed, 10 Sep 2014 12:07:13 GMT
Yes you can :
hadoop fs -ls /tmp/myfiles*

I would recommend first using -ls in order to verify  you are selecting 
the right files.

#Mahesh : do you need some help doing this ?


On 10.09.2014 13:46, Mahesh Khandewal wrote:
> I want to unsubscribe from this mailing list
>
> On Wed, Sep 10, 2014 at 4:42 PM, Charles Robertson 
> <charles.robertson@gmail.com <mailto:charles.robertson@gmail.com>> wrote:
>
>     Hi all,
>
>     Is it possible to use regular expressions in fs commands?
>     Specifically, I want to use the copy (-cp) and move (-mv) commands
>     on all files in a directory that match a pattern (the pattern
>     being all files that do not end in '.tmp').
>
>     Can this be done?
>
>     Thanks,
>     Charles
>
>


Mime
View raw message