LoginSignup
0
0

More than 5 years have passed since last update.

ディレクトリ内ファイル差分

Posted at

findで取得して、一応ソート。ディレクトリの文字列部分を削る。あとは、oldの方にしかないものを抽出

comm -13 <(find new/pdf -type f |sort| sed -e 's/new//g') <(find old/pdf -type f | sort | sed -e 's/old//g')
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0