Files
alfred-preferences/Alfred.alfredpreferences/snippets/Favorites/建立排除 Python 產物的壓縮檔 [B67EDA71-B0CC-4F5A-940A-855D7F051498].json
2026-03-26 09:22:38 +08:00

8 lines
525 B
JSON

{
"alfredsnippet" : {
"snippet" : "tar \\\n --exclude='.git' \\\n --exclude='.venv' \\\n --exclude='__pycache__' \\\n --exclude='*.py[cod]' \\\n --exclude='.pytest_cache' \\\n --exclude='.mypy_cache' \\\n --exclude='.ruff_cache' \\\n --exclude='build' \\\n --exclude='dist' \\\n --exclude='.coverage' \\\n -zcvf {clipboard}_$(date +\"%Y%m%d%H%M%S\").tar.gz \\\n {clipboard}",
"uid" : "B67EDA71-B0CC-4F5A-940A-855D7F051498",
"name" : "建立排除 Python 產物的壓縮檔",
"keyword" : ""
}
}