I already removed mtools, but decided to reinstall it for a test:

$ grep -v "#" /usr/bin/tgz 

set -e
set -u

Error ()
{       echo "Error: $0: ${@-}." >&2
        exit 1
}

        dest=
        src=.
        tar cvf - . | gzip -9v
        exit 0
        dest=$1
        src=.
else
        dest=$1
        shift
        src="${@-}"
fi

case $dest in
"" | . | .. | */ | */. | */.. )
        echo "Usage: $0: [destination [source...] ]" >&2
        exit 1
        ;;
*.t?z | *.?z | *.z | *.Z | *.tz | *.tz? )
        ;;
*)
esac

if [ -h "$dest" ]; then
        Error "Destination file \"$dest\" already exists as a symbolic link"
elif [ -f "$dest" ]; then
        Error "Destination \"$dest\" already exists as a file"
elif [ -d "$dest" ]; then
        Error "Destination \"$dest\" already exists as a directory"
fi
if [ -z "$dest" -o "X$dest" = 'X-' ]; then
        echo "Writing gzipp'd tar archive to standard output." >&2
        tar cvfS - -- $src | gzip -9v
else
        echo "Writing gzip'd tar archive to \"$dest\"." >&2
        tar -cvS --totals --exclude "$dest" -f - -- $src | gzip -9v > "$dest" 
        ls -l "$dest" >&2
fi

exit 0

I still can't see what created those copy files, however, I'll uninstall mtools 
again.

Dunno why I didn't take a look at the file before :D.

_______________________________________________
D-community-offtopic mailing list
D-community-offtopic@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/d-community-offtopic

Reply via email to