Created
October 26, 2011 10:29
-
-
Save bascht/1315982 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bascht@baschtmobil [12:28:09] [/tmp/test] | |
-> % echo "Alter Text" > test1.txt ? | |
bascht@baschtmobil [12:28:12] [/tmp/test] | |
-> % echo "Alter Text" > test2.txt ? | |
bascht@baschtmobil [12:28:16] [/tmp/test] | |
-> % zip test.txt.zip test*.txt ? | |
adding: test1.txt (stored 0%) | |
adding: test2.txt (stored 0%) | |
bascht@baschtmobil [12:28:18] [/tmp/test] | |
-> % rm test2.txt ? | |
bascht@baschtmobil [12:28:22] [/tmp/test] | |
-> % echo "Neuer Text" > test1.txt ? | |
bascht@baschtmobil [12:28:27] [/tmp/test] | |
-> % ll ? | |
total 16 | |
-rw-r--r-- 1 bascht wheel 336 26 Okt 12:28 test.txt.zip | |
-rw-r--r-- 1 bascht wheel 11 26 Okt 12:28 test1.txt | |
bascht@baschtmobil [12:28:29] [/tmp/test] | |
-> % tar -xkvf test.txt.zip ? | |
x test1.txt: Already exists | |
x test2.txt | |
tar: Error exit delayed from previous errors. | |
bascht@baschtmobil [12:28:39] [/tmp/test] | |
-> % ll ? | |
total 24 | |
-rw-r--r-- 1 bascht wheel 336 26 Okt 12:28 test.txt.zip | |
-rw-r--r-- 1 bascht wheel 11 26 Okt 12:28 test1.txt | |
-rwxr-xr-x 1 bascht wheel 11 26 Okt 12:28 test2.txt | |
bascht@baschtmobil [12:28:42] [/tmp/test] | |
-> % cat test1.txt test2.txt ? | |
Neuer Text | |
Alter Text |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment