find: missing argument to `-exec'
問題描述
[root@single shareplex_health_check]# find splex_check_log/ -name splex_check_log* -mtime +1 -exec rm -rf {}\; find: missing argument to `-exec'
解決
需要在{}兩端加空格。 [root@single shareplex_health_check]# find splex_check_log/ -name splex_check_log* -mtime +1 -exec rm -rf {} \;
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31439444/viewspace-2672932/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- missing ) after argument list
- [LeetCode] 2028. Find Missing ObservationsLeetCode
- Python成功解決TypeError: __init__() missing 1 required positional argument: ‘comment‘PythonErrorUI
- 每天一個linux命令(1):find命令之execLinux
- python execPython
- Pandas fillna('Missing')
- Missing Subsequence Sum
- exec族用法
- OSError: [Errno 22] Invalid argumentError
- Missing MSI and MSP files
- your Android sdk is missingAndroid
- eval()、exec()與execfile()
- javaScript argument 學習筆記JavaScript筆記
- 9,6 argument應用
- Leetcode 41 First Missing PositiveLeetCode
- gerrit "missing Change-Id"
- OPatch install "Missing command :fuser"
- B. Missing Subsequence Sum
- 【Leetcode】163. Missing RangesLeetCode
- Jenkins 構建 Exec timeout!Jenkins
- match()與exec()區別
- PDO 的 exec 和 query
- How to solve the "ambiguous argument 'origin..HEAD'"...
- GAMES001&mit missing semesterGAMMIT
- shell指令碼報錯:[: missing `]‘指令碼
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli)AIGoMavenPlugin
- V8 Bundled Exec call
- [ACTF2020 新生賽]ExecTF2
- [20221104]bash exec使用技巧.txt
- Veritas Backup Exec™ 21.3 Multilingual (Windows)Windows
- 細說 PEP 468: Preserving Keyword Argument Order
- TypeError: The ‘compilation‘ argument must be an instance of Compilation 報錯Error
- find命令
- Hello,find!
- Dynamic Web Project option missing in Eclipse KeplerWebProjectEclipse
- 鯤鵬ARM64環境下原始碼移植安裝MariaDB 10.5.19參考(2)-Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)原始碼
- 關於Argument list too long的問題
- error creating overlay mount to invalid argument unbuntu系統Error