summaryrefslogtreecommitdiff
path: root/vsvs-archive
blob: e328157399a4c6304d90d50f60f01af987988706 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash
# Current directory will be represented as VSVS archive in output.
for e in `ls -a`
do
    test "$e" == "." || test "$e" == ".." && continue
    if test -f "$e"
    then vsvs-name "$e" < $e
    else
        cd "$e"
        vsvs-archive | vsvs-name "$e"
        cd ..
    fi
done