source:
trunk/minix/commands/ftpd200/ftpdsh@
20
| Last change on this file since 20 was 9, checked in by , 14 years ago | |
|---|---|
| File size: 227 bytes | |
| Line | |
|---|---|
| 1 | #!/bin/sh |
| 2 | |
| 3 | case $1 in |
| 4 | 1) ls -A $2 ;; |
| 5 | 2) ls -la $2 ;; |
| 6 | 3) crc $2 ;; |
| 7 | 12) tar cf - $2 ;; |
| 8 | 13) tar cf - $2 | compress -q ;; |
| 9 | 14) compress -cq $2 ;; |
| 10 | 15) tar cf - $2 | gzip ;; |
| 11 | 16) tar -c $2 ;; |
| 12 | 17) compress -dcq $2 ;; |
| 13 | esac |
| 14 | exit |
Note:
See TracBrowser
for help on using the repository browser.