Last active
December 20, 2018 19:00
-
-
Save srividya22/1c927855580bb27752eba7c99ea40053 to your computer and use it in GitHub Desktop.
One liners Find
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Identify a directory which does not contain a particular file | |
find base_dir -mindepth 2 -maxdepth 2 -type d '!' -exec test -e "{}/cover.jpg" ';' -print |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment