发布网友 发布时间:2022-02-26 17:30
共1个回答
热心网友 时间:2022-02-26 19:00
ll命令指定目录名(也可以用绝对路径):file/
zip -r 201012.zip `ll files/|grep 2010|grep Dec|gawk '{print $9}'`追问没成功哦,提示:
zip warning: name not matched: 1.txt
zip warning: name not matched: 3837360.jpg
zip error: Nothing to do! (try: zip -r 201201.zip . -i 1.txt 3837360.jpg)
追答zip -r 201012.zip `ll files/|grep 2010|grep Dec|gawk '{print “files/”$9}'`