Linux 在 Debian 中使用文件夹解压存档?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10584356/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-06 06:18:50  来源:igfitidea点击:

Unrar archive with folders in Debian?

linuxdirectoryrar

提问by Eugene Shmorgun

I have the task: I have the Windows-made rar-archive (folders, files in it and so on), that via FTP was copied to Linux server. I want to unrar this archive to keep the file structure as it was in Windows - with folder.

我有任务:我有 Windows 制作的 rar 存档(文件夹、其中的文件等),通过 FTP 将其复制到 Linux 服务器。我想解压缩此存档以保持文件结构与 Windows 中的文件结构相同 - 带有文件夹。

rar у my_archivive

works, but I have just the list of files without folders.

有效,但我只有没有文件夹的文件列表。

How to do it ?

怎么做 ?

Thanks.

谢谢。

采纳答案by tripleee

man unrarsays

man unrar

x      Extract files with full path.