I have tree structure like in the same level
public_html
connection
& inside the public_html I have
so I want to move all the files & folder of folder public_html/conn to connection folder which is in the level of public_html,so which exact command of ssh can give me the result?
If you want the folder conn
to be inside connection
:
mv -i public_html/conn/ connection
Alternatively, if you want the files inside conn
, but not the conn
folder itself, to be inside connection
:
mv -i public_html/conn/* connection
mv -i public_html/conn/.* connection
Would definitely suggest doing man mv
beforehand to avoid making a mistake.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.