![]() |
PCDVD¼Æ¦ì¬ì§Þ°Q½×°Ï
(https://www.pcdvd.com.tw/index.php)
- ºÃÃøÂø¯g°Ï
(https://www.pcdvd.com.tw/forumdisplay.php?f=34)
- - UNIX ¦p¦ó½Æ»s¥Ø¿ý¡H
(https://www.pcdvd.com.tw/showthread.php?t=623938)
|
|---|
UNIX ¦p¦ó½Æ»s¥Ø¿ý¡H
°Ý¨Ç²Â°ÝÃD ¡A¥H«e±q¥¼±µÄ²UNIX¡C
§Ú¥uª¾¹D CP ¥i¥H½Æ»sÀɮסA¥i¬O§Ú·Q½Æ»s¾ãӥؿý¡]§t¸Ì±ªº©Ò¦³Àɮס^¡A³o¼Ë¥i¥H¶Ü¡H ¥t¥~¥LÀɦW¥i¥H§ï¶Ü¡H UNIXªº«ü¥O¬O¤£¬O«Ü¦hªü¡A¦³¨S¦³¥i¥H´£¨Ñ«ü¥O ¤¶²Ðªº¦a¤è¡C ½Ð¼ô±xUNIX±o¤j¤j À°¦£¡C·PÁ¡C |
man¤@¤Ucp¬Ý¦³¨S¦³-R¥i¥H¥Î
-R If source_file designates a directory, cp copies the directory and the entire subtree connected at that point. This option also causes symbolic links to be copied, rather than indirected through, and for cp to create special files rather than copying them as nor- mal files. Created directories have the same mode as the corre- sponding source directory, unmodified by the process' umask. Note that cp copies hard linked files as separate files. If you need to preserve hard links, consider using tar(1), cpio(1), or pax(1) instead. |
man ¤@¤U cp §a.......... ¤£µM´N§â¾ãӥؿýtar °_¨Ó ¦A¸Ñtar ¨ì§Anªº¦a¤è
|
cp -r <§Aªº¥Ø¿ý> <¨ì¨ºùØ>
|
¤Þ¥Î:
"r" ¦n¹³n¤j¼g |
¤Þ¥Î:
n¬ÝOS°Õ,©Ò¥Hn¥ýman¤@¤Ucp....... |
| ©Ò¦³ªº®É¶¡§¡¬°GMT +8¡C ²{¦bªº®É¶¡¬O07:55 PM. |
vBulletin Version 3.0.1
powered_by_vbulletin 2026¡C