linux - How to move all files of a folder to another folder in ssh console? -
i have tree structure in same level
public_html
connection
& inside public_html have
- conn
so want move files & folder of folder public_html/conn connection folder in level of public_html,so exact command of ssh can give me result?
if want folder conn
inside connection
:
mv -i public_html/conn/ connection
alternatively, if want files inside conn
, not conn
folder itself, inside connection
:
mv -i public_html/conn/* connection mv -i public_html/conn/.* connection
would suggest doing man mv
beforehand avoid making mistake.
Comments
Post a Comment