zip LLM-TPC but exclude dir "logs/" "data/" "CLIP-ViT-bigG-14-laion2B-39B-b160k/"…
- User
zip LLM-TPC but exclude dir "logs/" "data/" "CLIP-ViT-bigG-14-laion2B-39B-b160k/" "LLaMA-Factory/" "tasks/" "failure_case/" "MSR3D_v1/" "wandb/"
- Assistant
To create a zip archive of the
LLM-TPCdirectory while excluding multiple directories (logs/*,data/*,CLIP-ViT-bigG-14-laion2B-39B-b160k/*,LLaMA-Factory/*,tasks/*,failure_case/*,MSR3D_v1/*,wandb/*), you can use thezipcommand with the-xoption to exclude patterns.Here is the command:
zip -r LLM-TPC.zip LLM-TPC -x "LLM-TPC/logs/*" "LLM-TPC/data/*" "LLM-TPC/CLIP-ViT-bigG-14-laion2B-39B-b160k/*" "LLM-TPC/LLaMA-Factory/*" "LLM-TPC/tasks/*" "LLM-TPC/failure_case/*" "LLM-TPC/MSR3D_v1/*" "LLM-TPC/wandb/*"Explanation:
-r: recursively include files/directories.LLM-TPC.zip: output zip file.LLM-TPC: directory to zip.-x: exclude the following patterns.- Each exclude pattern is prefixed with
LLM-TPC/because zip paths include the directory name.
Make sure you run this command from the parent directory of
LLM-TPC.
If you want me to generate a different form or using another tool, just let me know!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.