Linux commands - SouthGreenPlatform/tutorials GitHub Wiki
Authors | Christine Tranchant-Dubreuil |
---|---|
Research Unit | UMR DIADE |
Institut |
Description
This page describes some linux commands
find
Keywords : Date : 02/07/2017
Summary
find
commands
List empty directory with - Find the empty directory
[durreuic@cobalt174 output]$ find . -type d -empty
./GL/2_bwaSampe
./GL/1_bwaAln
./GG/2_bwaSampe
- Check that the directory are empty with
xargs
[durreuic@cobalt174 output]$ find . -type d -empty | xargs ls
./FR/1_bwaAln:
./FR/2_bwaSampe:
./FS/1_bwaAln: