15 lines
941 B
JSON
15 lines
941 B
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Bash(bash -n /mnt/d/SmyProjects/Skills/linux-ssh-operator/scripts/ssh_copy.sh && echo \"Syntax OK\")",
|
|
"Bash(/mnt/d/SmyProjects/Skills/linux-ssh-operator/scripts/ssh_copy.sh --help)",
|
|
"Bash(./scripts/ssh_copy.sh --dry-run push my-server ./file.txt /tmp/)",
|
|
"Bash(./scripts/ssh_copy.sh --method rsync -r --dry-run push my-server ./dir /tmp/)",
|
|
"Bash(./scripts/ssh_copy.sh --tar --dry-run push my-server ./dir /tmp/)",
|
|
"Bash(./scripts/ssh_copy.sh --tar --dry-run push my-server ./ssh_copy.sh /tmp/)",
|
|
"Bash(./scripts/ssh_copy.sh --method rsync -r --exclude '.git' --exclude 'node_modules' --delete --dry-run push my-server /tmp/test_transfer_dir /tmp/)",
|
|
"Bash(bash -n /mnt/d/SmyProjects/Skills/linux-ssh-operator/scripts/ssh_run.sh && bash -n /mnt/d/SmyProjects/Skills/linux-ssh-operator/scripts/ssh_copy.sh && echo \"Both scripts syntax OK\")"
|
|
]
|
|
}
|
|
}
|