문제

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 ?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top