[下一頁][首頁][上一頁]

我如何拷貝整個目錄包括它所有的內容?

NAME
     cp - 拷貝檔案
SYNOPSIS
     cp [-R] source_file target_file
     cp [-R] source_file ... target_directory
DESCRIPTION
     -R    若來指定的來源為一個目錄,則 cp 會拷貝與它有關連的子目錄。
範例:
$ mkdir blurp
$ ls
NewNotes        blurp           hello_world     mydir
Notes           dir             hello_world.c   notes
$ cp -R dir blurp
$ ls blurp
dir
$ _
[上一頁][首頁][下一頁]