1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00

mkdir, rmdir, touch, rm: fix typo (zh_TW) (#4206)

This commit is contained in:
Zhe-An Li 2020-07-22 05:38:48 +09:00 committed by GitHub
parent 2e9c71731b
commit 78f157e84d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 6 deletions

View file

@ -8,4 +8,4 @@
- 遞迴建立目錄,若上層目錄尚未被建立則會一併建立:
`mkdir -p {{目錄/完整/路徑}}}`
`mkdir -p {{目錄/完整/路徑}}`

View file

@ -4,11 +4,11 @@
- 移除位於指定路徑的檔案:
`rm {{檔案一/完整/路徑}}} {{檔案二/完整/路徑}}`
`rm {{檔案一/完整/路徑}} {{檔案二/完整/路徑}}`
- 遞迴移除目錄與其所有子目錄:
`rm -r {{目錄/完整/路徑}}}`
`rm -r {{目錄/完整/路徑}}`
- 強制移除目錄,且不會跳出任何確認資訊與錯誤訊息:

View file

@ -4,7 +4,7 @@
- 若為空目錄則移除目錄(如果目錄非空,可用 `rm -r` 移除目錄及其所包含的檔案):
`rmdir {{目錄/完整/路徑}}}`
`rmdir {{目錄/完整/路徑}}`
- 移除目錄與其所有上層目錄:

View file

@ -8,8 +8,8 @@
- 將存取與修改時間設定為指定時刻:
`touch -t {{西元年份月份日期小時分鐘.秒鐘}} {{檔案名稱}}}`
`touch -t {{西元年份月份日期小時分鐘.秒鐘}} {{檔案名稱}}`
- 以其中一個檔案的存取與修改時間為基準,設定另一個檔案的存取與修改時間:
`touch -r {{來源檔案名稱}} {{目標檔案名稱}}}`
`touch -r {{來源檔案名稱}} {{目標檔案名稱}}`