2 find -mindepth 1 -maxdepth 1 -type d | \
4 gr_ident
=`basename $dir`
5 echo -n > "$dir/@$gr_ident@.groupident"
7 find $dir -mindepth 1 -type d | \
10 ##!code! skip .tags dir
11 [ "$N1" = ".tags" ] && continue
15 echo -n > "$dir2/@$N1@$N3@.groupident"
18 find $dir -type f \
( ! -name "*.*ident" \
) | \
19 sed 's%/[^/]\+$%%' |
sort -u | \
21 echo -n > "$file/list.identident"
26 find -type f
-name "*.commident" | \
28 DIR
=$
(dirname "$line")
29 FILE
=$
(basename "$line")
30 GRP
=$
(echo "$FILE" |
sed 's/\.commident$//')
31 DIRUP
=$
(dirname "$DIR")
32 [ -d "$DIRUP/$GRP" ] && cp "$DIRUP/$GRP"/*.groupident
"$DIR" ||
echo "Invalid groupident: $FILE $DIR"
35 find -type f
-name "*.tagident" | \
37 DIR
=$
(dirname "$line")
39 GRP
=$
(echo "$line" |
sed 's/\.tagident$//')
40 GRPTRUNC
=$
(basename "$GRP")
41 touch "$DIR"/@
$GRPTRUNC@.groupident