トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS

Top / linux / System Command Examples / find examples / find ファイルのみを検索対象とする
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

Top / linux / System Command Examples / find examples / find ファイルのみを検索対象とする