This file contains 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
# This command will search in the current directory and all sub directories for a file named rc.conf. | |
find . -name "rc.conf" -print | |
# This command will search in the current directory and all sub directories. All files named rc.conf will be processed by the chmod -o+r command. The argument '{}' inserts each found file into the chmod command line. The \; argument indicates the exec command line has ended. | |
find . -name "rc.conf" -exec chmod o+r '{}' \; | |
# This command will search in the current directory and all sub directories. All files that contain the string will have their path printed to standard output. | |
find . -exec grep "www.athabasca" '{}' \; -print |
This file contains 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
find -type f -print0 | sort -z | cpio -0 -pd /media/WALKMAN/MUSIC/kn |
NewerOlder