How do I move files with spaces in Linux?

Bảo Vy

Member
How do I move files with spaces in Linux?
Answer
Three options:
  1. Use tab completion. Type the first part of the file and hit Tab . If you’ve typed enough for it to be unique, it’ll be completed. …
  2. Surround the name in quotes: mv “File with Spaces” “Other Place”
  3. Use backslashes to escape the special characters: mv File with Spaces Other Place.
 

Tìm kiếm

Back
Top