Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
exiftool image.jpg给我linux上图像文件的元数据。我正在尝试获取 HDFS 图像文件元数据,例如exiftool hdfs://10.253.11.10:8020/tmp/user/vid2.avi.
exiftool image.jpg
exiftool hdfs://10.253.11.10:8020/tmp/user/vid2.avi
但是得到像File not found:. 如何读取 HDFS 文件的元数据?
File not found:
您可以使用管道:
hdfs dfs -cat hdfs://10.253.11.10:8020/tmp/user/vid2.avi | exiftool -