You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ zip --help
-f freshen: only changed files -u update: only changed or new files
...
$ zip test.zip 1.txt
adding: 1.txt (stored 0%)
$ zip -f test.zip 2.txt
$ zip -u test.zip 2.txt
adding: 2.txt (stored 0%)
The text was updated successfully, but these errors were encountered:
网站中介绍为:
-f:此参数的效果和指定“-u”参数类似,但不仅更新既有文件,如果某些文件原本不存在于压缩文件内,使用本参数会一并将其加入压缩文件中;
-u:更换较新的文件到压缩文件内;
在服务器中测试:
The text was updated successfully, but these errors were encountered: