I'm trying to move a particular file to the restricted location /home/irshad/.local/share/Steam/Backups (I cannot access the .local folder since I cannot see it in the file manager). Can anyone provide me the terminal command to do that?

  • the folder should not be restricted Oct 8, 2014 at 13:43
  • i cant access .local folder
    – gambler420
    Oct 8, 2014 at 13:50
  • it is hidden by default, press ctrl + h to make visible Oct 8, 2014 at 13:51
  • excellent..........thx............works like charm...thx to u both @JacobVlijm & kaSiya
    – gambler420
    Oct 8, 2014 at 13:58
  • perfect, great that it works. Oct 8, 2014 at 14:00

2 Answers 2


Use mv command like this

mv /path/to/YOUR_FILE /home/irshad/.local/share/Steam/Backups/

If your file name or directory name has a space in its name quote its path:

mv "/path/to/YOUR FILEorDIRECTORY" "/home/irshad/.local/share/Steam/MY Backups/"
  • should it be like this? "mv /media/irshad/7650B08250B04B1F/Dota 2/home/irshad/.local/share/Steam/Backups"
    – gambler420
    Oct 8, 2014 at 13:49
  • @gambler420 Is your file Dota 2 (with space in it)?? Oct 8, 2014 at 13:50
  • yes and its a folder
    – gambler420
    Oct 8, 2014 at 13:52
  • @gambler420 Then use this mv "/media/irshad/7650B08250B04B1F/Dota 2" /home/irshad/.local/share/Steam/Backups/ Oct 8, 2014 at 13:53
  • Thx...........big time.....works like a charm.........
    – gambler420
    Oct 8, 2014 at 14:00

If you try the mv command and it says "Permission Denied" then use the sudo su command and then try it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.