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
- Missing Subsequence Sum
- Pandas fillna('Missing')
- OSError: [Errno 22] Invalid argumentError
- exec族用法
- Missing MSI and MSP files
- your Android sdk is missingAndroid
- javaScript argument 學習筆記JavaScript筆記
- 9,6 argument應用
- eval()、exec()與execfile()
- B. Missing Subsequence Sum
- OPatch install "Missing command :fuser"
- 【Leetcode】163. Missing RangesLeetCode
- Leetcode 41 First Missing PositiveLeetCode
- gerrit "missing Change-Id"
- How to solve the "ambiguous argument 'origin..HEAD'"...
- PDO 的 exec 和 query
- Jenkins 構建 Exec timeout!Jenkins
- match()與exec()區別
- GAMES001&mit missing semesterGAMMIT
- shell指令碼報錯:[: missing `]‘指令碼
- 細說 PEP 468: Preserving Keyword Argument Order
- TypeError: The ‘compilation‘ argument must be an instance of Compilation 報錯Error
- Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:exec (default-cli)AIGoMavenPlugin
- [ACTF2020 新生賽]ExecTF2
- [20221104]bash exec使用技巧.txt
- Veritas Backup Exec™ 21.3 Multilingual (Windows)Windows
- V8 Bundled Exec call
- find命令
- Hello,find!
- Dynamic Web Project option missing in Eclipse KeplerWebProjectEclipse
- python argument 1 must be 2-item sequence, not intPython
- error: invalid type argument of unary ‘*‘ (have ‘int‘) *__first = __tmp;Error
- 關於Argument list too long的問題