Domanda

I have a directory /f/ssh which I would like to turn into /f/.ssh. I'm working with git-bash on win7 I've tried:

/f
$ mv /ssh /.ssh
mv: cannot stat `/ssh': No such file or directory    

/f
$ mv ssh .ssh  
mv: cannot move `ssh' to `.ssh/ssh'

But its not working. How can I make this happen ?

È stato utile?

Soluzione

You probably want your second example (current working directory) and not root (/).

$ mv ssh .ssh  
mv: cannot move `ssh' to `.ssh/ssh'

What this is saying is there is already a folder called ".ssh" in your current working directory.

By calling that command again it's also saying you don't have access to move "ssh" into the already existing ".ssh" folder.

Try an ls -al to list all current files/folders in the directory, including hidden.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top