/[fuse-comp]/test.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Annotation of /test.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5 - (hide annotations)
Sun Jul 8 15:04:35 2007 UTC (16 years, 9 months ago) by dpavlin
File MIME type: application/x-sh
File size: 514 byte(s)
confess all errors, added minimum site for files which will be compressed
(by default, 256 bytes), unlinking should now cleanup everything,
preserve file attributes when (un)compressing
1 dpavlin 1 #!/bin/sh
2    
3     ps ax > foo
4     cp foo /tmp/no-comp/foo
5     test -f /tmp/no-comp/foo && echo ok
6     test ! -z /tmp/no-comp/foo && echo ok
7    
8     ls -al /tmp/no-comp/foo /tmp/comp/foo* /dev/shm/comp/foo
9     wc /tmp/no-comp/foo /tmp/comp/foo* /dev/shm/comp/foo
10     zcat /tmp/comp/foo.gz | wc
11 dpavlin 3
12     rm foo
13    
14     mkdir /tmp/no-comp/bar
15     md5sum /tmp/no-comp/foo > /tmp/no-comp/bar/md5sum
16     md5sum -c /tmp/no-comp/bar/md5sum
17    
18     mkdir /tmp/no-comp/fuse-comp/
19     cp -r . /tmp/no-comp/fuse-comp/
20     diff -ur . /tmp/no-comp/fuse-comp/
21 dpavlin 5
22     cp -rp /rest/cvs/fuse /tmp/no-comp/fuse

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.26