发布网友
共1个回答
热心网友
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}'`