Trong Linux zip, có thể nén một thư mục đệ quy ngoại trừ một đường dẫn con đã cho không?Thư mục Zip đệ quy, lưu cho một thư mục con đã cho (Linux)
Ví dụ: để nén 'base_folder' và tất cả thư mục phụ ngoại trừ 'base_folder/sub_folder'.
Có thể không? Và nếu có, làm thế nào?
zip -r zip_file.zip base_folder -x 'base_folder/first_folder_to_skip/*' 'base_folder/second_folder_to_skip/*' –