Next: , Previous: shar Bugs, Up: shar Invocation

2.1.14 shar Examples

The first shows how to make a shell archive out of all C program sources. The second produces a shell archive with all .c and .h files, which unpacks silently. The third gives a shell archive of all uuencoded .arc files, into numbered files starting from The last example gives a shell archive which will use only the file names at unpack time.

    shar *.c > cprog.shar
    shar -Q *.[ch] > cprog.shar
    shar -B -l28 *.arc
    shar -f /lcl/src/u*.c >