差分

このページの2つのバージョン間の差分を表示します。

この比較画面へのリンク

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
linux:commands:file_directory [2025/02/28 04:12] – [ファイルのみ、ディレクトリのみに[chmod]] ともやんlinux:commands:file_directory [2025/02/28 04:49] (現在) – [ファイルのみ、ディレクトリのみに[chmod]] ともやん
行 439: 行 439:
 </code> </code>
  
-===== ファイルのみ、ディレクトリのみに[chmod] ===== +===== ファイルのみ、ディレクトリのみに[find, xargs, chmod] ===== 
-参考: [[so>questions/76331097/how-can-i-make-xargs-execute-for-all-files-found-by-find-command-in-bash-scr|linux - How can I make 'xargs' execute for all files found by 'find' command in bash script? - Stack Overflow]]\\+参考: [[so>questions/76331097/how-can-i-make-xargs-execute-for-all-files-found-by-find-command-in-bash-scr|linux - How can I make 'xargs' execute for all files found by 'find' command in bash script? - Stack Overflow]] [[gtr>https://stackoverflow.com/questions/76331097/how-can-i-make-xargs-execute-for-all-files-found-by-find-command-in-bash-scr|翻訳]]\\ 
 + [[https://www.linuxtoday.com/blog/xargs-find-commands/|How to Use the xargs and find commands | Linux Today]] [[gtr>https://www.linuxtoday.com/blog/xargs-find-commands/|翻訳]]\\
  
-ファイルのみ ダメな例💩🤪)+ファイルのみ - ❌ダメな例💩🤪\\
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
行 459: 行 460:
 </WRAP> </WRAP>
  
-ファイルのみ (良い例🥰)+ファイルのみ - 🙆🏻‍♀️良い例🥰\\ 
 +<WRAP round tip 90%> 
 +空白文字を含むファイル名は問題を引き起こす可能性がある🤔\\ 
 +xargs と find は、空白文字ではなくヌル文字で区切る GNU 拡張機能を使用し、この問題に対処できる😉\\ 
 +</WRAP>
 <WRAP color_term> <WRAP color_term>
 <WRAP color_command><html><pre> <WRAP color_command><html><pre>
  • linux/commands/file_directory.1740683570.txt.gz
  • 最終更新: 2025/02/28 04:12
  • by ともやん