0

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?

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

2 Answers 2

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/"
6
  • should it be like this? "mv /media/irshad/7650B08250B04B1F/Dota 2/home/irshad/.local/share/Steam/Backups"
    – gambler420
    Commented Oct 8, 2014 at 13:49
  • @gambler420 Is your file Dota 2 (with space in it)?? Commented Oct 8, 2014 at 13:50
  • yes and its a folder
    – gambler420
    Commented Oct 8, 2014 at 13:52
  • @gambler420 Then use this mv "/media/irshad/7650B08250B04B1F/Dota 2" /home/irshad/.local/share/Steam/Backups/ Commented Oct 8, 2014 at 13:53
  • Thx...........big time.....works like a charm.........
    – gambler420
    Commented Oct 8, 2014 at 14:00
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .