我有一个以.squashfs文件格式备份的Ubuntu安装。我想将它提取到一个分区的根目录下,但是当我尝试时,会出现一个错误提示说该目录已存在。我可以顺利地提取到不存在的目录中。我已经搜索了关于使用squashfs-tools的信息,但找不到用于提取到已存在位置(如空分区)的命令。
以下是我正在使用的命令,用于提取到不存在的位置:
我尝试使用这个工具来提取到一个空分区,但是它不起作用。
以下是我正在使用的命令,用于提取到不存在的位置:
sudo unsquashfs -d /media/location1/locationthatdoesntexist /media/location2/file.squashfs
我尝试使用这个工具来提取到一个空分区,但是它不起作用。
sudo unsquashfs -d /media/location1 /media/location2/file.squashfs