find

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen Revision Vorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
find [05/11/2023 - 07:13] thommie4find [05/11/2023 - 07:14] thommie4
Zeile 22: Zeile 22:
 find . -type f -exec bash -c ' find . -type f -exec bash -c '
     [[ "$( file -bi "$1" )" == */x-shellscript* ]]' bash {} \; -print     [[ "$( file -bi "$1" )" == */x-shellscript* ]]' bash {} \; -print
-</code+</code>
  
  
-Rekursive suche+Rekursive Suche
  
 <code> <code>
 find ./ -type f -xdev -name "vmware*" find ./ -type f -xdev -name "vmware*"
 +
 +locutus:/usr/share/icons # find ./ -type f -xdev -name "vmware*"
 +find: warning: you have specified the global option -xdev after the argument -type, but global options are not positional, i.e., -xdev affects tests specified before it as well as those specified after it.  Please specify global options before other arguments.
 +./hicolor/16x16/apps/vmware-player.png
 +./hicolor/16x16/apps/vmware-netcfg.png
 +./hicolor/16x16/apps/vmware-workstation.png
 +./hicolor/22x22/apps/vmware-player.png
 +./hicolor/22x22/apps/vmware-netcfg.png
 +./hicolor/22x22/apps/vmware-workstation.png
 +./hicolor/24x24/apps/vmware-player.png
 +./hicolor/24x24/apps/vmware-netcfg.png
 +./hicolor/24x24/apps/vmware-workstation.png
 +./hicolor/256x256/apps/vmware-player.png
 </code> </code>
  • find.txt
  • Zuletzt geändert: 05/03/2024 - 10:52
  • von 127.0.0.1