Member since
06-02-2020
3
Posts
0
Kudos Received
0
Solutions
12-07-2020
03:18 PM
I want to copy only csv files from on directory into another, I use the command: hadoop distcp /a/b/*.csv /e/f/ The issue here is, if there's multiple csv files under /a/b/, this command would work, it will copy all csv files into the directory /e/f/, however, if there's only one csv file, it will be copied into /e/f where f is a file not a directory, is there a way to resolve this? Thanks in advance!
... View more
Labels:
- Labels:
-
HDFS