📄 img2dir
字号:
#!/bin/bash# convert IMG compressed file back into directory tree## Author: Tomas Matejicek <http://www.linux-live.org>#if [ ! -d "$2" ]; then echo echo "Convert IMG compressed module back into directory tree" echo "usage: $0 source_file.img output_directory" exit 1fiif [ -a ./liblinuxlive ]; then . ./liblinuxliveelse . /usr/lib/liblinuxlive || exit 1fiTMPDIR=/tmpTMPFILE="/tmp/ll$$"mount_img "$1" "$TMPDIR" "$TMPFILE"IMGDIR="`cat $TMPFILE`"cp -R "$IMGDIR"/* "$2"umount "$IMGDIR"umount "$IMGDIR"rm "$TMPFILE"rmdir "$IMGDIR"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -