Last-modified: 2018-02-23 (金) 15:03:46 (2105d)
find ファイルのみを検索対象とする †
- syntax:
find 検索Path -type f
find ./ -type f
find ./ -type f -exec mv {} ./backup \;
- comment:
検索Path以下のTypeで指定された物を検索する
Type指定は以下のものが使用可能
'd'----directory
'f'----file
'l'----symbolic link
'p'----pipe
'b'----block special file
'c'----character special file
's'----socket
- Example:
Tag: Linux find
Goto Top Page