mirror of
https://github.com/Phantop/dotfiles
synced 2024-11-08 16:04:37 +00:00
8 lines
142 B
Plaintext
8 lines
142 B
Plaintext
|
#!/bin/sh
|
||
|
DIR=/tmp/.dwarf_$(basename $@ .dwarfs)$RANDOM
|
||
|
mkdir $DIR
|
||
|
dwarfs $@ $DIR
|
||
|
rsync -ahP $DIR/ dwarfs-root
|
||
|
fusermount -uz $DIR
|
||
|
rmdir $DIR
|