Résultats de recherche
How to run find -exec? - Unix & Linux Stack Exchange
https://unix.stackexchange.com/questions/.../how-to-run-find-execTraduire cette page
9 mai 2011 - You missed a ; or a + and a {} : find . -exec grep chrome {} \;. or find . -exec grep chrome {} +. find will execute grep and will substitute {} with the filename(s) found. The difference between ; and + is that with ; a single grep command for each file is executed whereas with + as many files as possible are given ...bash - find -exec with multiple commands - Stack Overflow
https://stackoverflow.com/.../find-exec-with-multiple-commandsTraduire cette page
25 févr. 2011 - find accepts multiple -exec portions to the command. For example: find . -name "*.Linux shell, how to use the exec option in find with examples | Linuxaria
https://linuxaria.com/howto/linux-shell-how-to-use-the-exec-optio...Traduire cette page
23 sept. 2012 - In a former article I've wrote about the command locate , an useful command to find quickly a file in your computer. An alternative to locate is the command find : GNU find searches the directory tree rooted at each given file name by evaluating the given expression from left to right, according to the rules of ...Using -exec option with find - Softpanorama
www.softpanorama.org/.../Find/using_exec_option_and_xargs_in...Traduire cette page
-print0 ( GNU find only) tells find to use the null character (\0) instead of whitespace as the output delimiter between pathnames found. This is a safer option if your files can contain blanks or other special characters. It is strongly recommended to use the -print0 argument if you use -exec command or xargs (Advanced techniques for using the UNIX find command - IBM
www.ibm.com › Learn › AIX and UNIXTraduire cette page
28 mars 2006 - When a file is found that matches the search criteria, the -exec parameter defines what to do with the file. This example tells the computer to: Search from the current directory on down, using the dot ( . ) just after find . Locate all files that have a name ending in .gif (graphic files). List all found files, using the ls ...utilisation de {} dans find -exec et commandes imbriquées ...
https://www.developpez.net/...commandes.../utilisation-find-exec-commandes-imbriq...
2 oct. 2008 - Par défaut utilisation de {} dans find -exec et commandes imbriquées. Bonjour à tous, Une petite question, plus pour satisfaire ma curiosité que pour résoudre un véritable problème d'application... En cherchant une solution plus direct au problème soulevé dans cette discussion : script pour naviguer dans ...bash - How to pass combined commands to find -exec? - Super User
https://superuser.com/.../how-to-pass-combined-commands-to-find...Traduire cette page
9 sept. 2016 - You can use a complex shell command in the argument to exec by explicitly invoking a shell there. find . -type f -name "*.txt" -exec sh -c 'grep FirstKeyWord "find -exec vs find | xargs - Everything CLI
https://www.everythingcli.org/find-exec-vs-find-xargs/Traduire cette page
18 sept. 2015 - -name \*.php -type f -exec [cmd] # find all files, folders, symlinks, etc in the current directory recursively # Its filename must end with .php # Only search for files (not folders) # Execute a command on the results. The above is all the same for all three queries. Let's have a look at the grep command: grep -H ...linux - What is the correct find -exec syntax - Server Fault
https://serverfault.com/.../what-is-the-correct-find-exec-syntaxTraduire cette page
21 déc. 2011 - -exec command ; Execute command; true if 0 status is returned. All following arguments to find are taken to be arguments to the command until an argument consisting of `;' is encountered. The string `{}' is replaced by the current file name being processed everywhere it occurs in the arguments to the ...Using the Linux find command with caution | Network World
https://www.networkworld.com/.../using-the-linux-find-command-...Traduire cette page
16 oct. 2017 - A friend recently reminded me of a useful option that can add a little caution to the commands that I run with the Linux find command. It's called -ok and it works like the -exec option except for one important difference — it makes the find command ask for permission before taking the specified action.