Http://www.2cto.com/os/201409/335119.html can easily create \ Move \ Remove folder names with spaces in the Windows operating system, while Linux requires some special processing to achieve the above functions. (1) Create folder mkdir my\ First This command creates the folder "My first", there is a space between my and first in the folder name, a "\" symbol is added to the command line and a combination of spaces mkdir my\ \ Tow This command creates a folder " My tow ", there are two spaces between my and tow in the folder name, you need to add two" \ "and a combination of spaces in the command line (2) Move folder MV my\ first/tmp This command moves the folder" My first "to the folder tmp under MV my\ \ tow/ TMP This command moves the folder "My tow" to the folder TMP (3) to delete the folder Rm-r my\ First This command removes the folder "my\ first" delete rm-r my\ \ Tow This command removes the folder "my\ \ Tow" (4) into the folder CD my \ First This command can go to the folder "my first" CD my\ \ Tow This command can go to the folder "My Tow" (5) Create a compressed file tar czf my\ first.tar.gz my\ First create a compressed file "my First.tar. GZ "tar czf my\ \ tow.tar.gz my\ \ Tow Create a compressed file" My tow.tar.gz "tar cjf my\ first.tar.bz2 my\ First create a compressed file" My first.tar.bz2 "tar C JF my\ \ tow.tar.bz2 my\ \ Tow Create compressed file "my\ \ Tow" (6) Unzip compressed file tar xzf my\ first.tar.gz Unzip compressed file "My first.tar.gz" tar xzf my\ \ tow.t AR.GZ Unzip the compressed file "My tow.tar.gz" tar xjf my\ first.tar.bz2 Unzip the compressed file "My first.tar.bz2" tar xjf my\ \ tow.tar.bz2 Unzip the compressed file "my TOW.TAR.BZ2 "Summary: This article implements the folder name has spaces in the file to create \ move \ delete \ enter \ compression \ Decompression operations, relative to the folder name is emptyfolder, you need to insert a "\" and a combination of spaces between the folder names when you enter the command, and a few spaces in the folder name add several combinations.
How to operate a folder with a blank folder name under Linux system