Today I wanted to mount My Passport External Hard disk and it reminded me of how I used to be nevrous whenever I wanted to do any operation (copy/move/delete...) on any file or folder with blank Space character in its name in the terminal , (we dont have this problem in graphical file managers)
Lets learn once forever , how to treat it here is the simple rule :
Whenever you see the space in the name you just replace it with "\ " without Qouation Marks .
for example this will NOT work in terminal
cd /media/My Passportbecause it has an space in it , to make it work I add "\ " for each space but the following will work
cd /media/My\ Passportand it works , I promise .








0 comments:
Post a Comment