I have some folders and files, I created a rar file from them and copy them to my linux machine using ftp then I use this command line to extract them:
sudo unrar e files.rar /home/usr1/file
It start working but after I open the folder, I did not find my folders, I only find files a lot of them but not structured in folders like the original folder.
How can I unrar them with keeping the original structures of files and folders?
sudo? You shouldn't get used to usingsudoeverywhere, only for commands that really need it, and if you do, only if you understand how and why the command may trash your machine. – Guntram Blohm Feb 20 '21 at 13:07