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

Popular posts from this blog

javascript - Chart.js (Radar Chart) different scaleLineColor for each scaleLine -

apache - Error with PHP mail(): Multiple or malformed newlines found in additional_header -

java - Android – MapFragment overlay button shadow, just like MyLocation button -