-
Notifications
You must be signed in to change notification settings - Fork 25
Command find (Search file(s) with wildcards)
Franco Corbelli edited this page Sep 2, 2023
·
2 revisions
Searching by filename is relatively difficult, or rather inconvenient, on Linux.
There is no command actually dedicated to finding files, other than find redirected to some grep etc
On Windows subfolder search get awkward output, for example
dir c:\zpaqfranz\zpaqfranz.cpp /s
(...)
Il volume nell'unità C non ha etichetta.
Numero di serie del volume: 1234-5678
Directory di c:\zpaqfranz
02/09/2023 16:35 3.337.783 zpaqfranz.cpp
1 File 3.337.783 byte
Directory di c:\zpaqfranz\bsd\candidato\caricasito
09/08/2022 18:25 1.093.847 zpaqfranz.cpp
1 File 1.093.847 byte
Directory di c:\zpaqfranz\ncurses
28/03/2023 21:35 4.922.480 zpaqfranz.cpp
1 File 4.922.480 byte
Directory di c:\zpaqfranz\ncurses\ok4
14/03/2023 17:09 4.411.567 zpaqfranz.cpp
1 File 4.411.567 byte
Don't worry, zpaqfranz to the rescue!
C:\zpaqfranz>zpaqfranz find c:\zpaqfranz -only *zpaqfranz.cpp
zpaqfranz v58.10a-JIT-GUI-L,HW BLAKE3,SHA1/2,SFX64 v55.1,(2023-08-25)
franz:find j - command
franz:-only *zpaqfranz.cpp
--------------------------------------------------------------------------------------
franz:-hw
c:/zpaqfranz/bsd/candidato/caricasito/zpaqfranz.cpp 1.093.847)
c:/zpaqfranz/ncurses/ok4/zpaqfranz.cpp
(...)
c:/zpaqfranz/release/54_10/zpaqfranz.cpp
c:/zpaqfranz/release/54_11/zpaqfranz.cpp
c:/zpaqfranz/release/54_12/zpaqfranz.cpp
c:/zpaqfranz/release/54_12j/zpaqfranz.cpp
(...)
c:/zpaqfranz/release/58_9/zpaqfranz.cpp
c:/zpaqfranz/release/bsd/caricasito/zpaqfranz.cpp
c:/zpaqfranz/release/bsd55_9/zpaqfranz.cpp
c:/zpaqfranz/release/exe/zpaqfranz.cpp
c:/zpaqfranz/release/fedora/zpaqfranz/ugo/zpaqfranz.cpp
c:/zpaqfranz/release/proxmox/zpaqfranz.cpp
c:/zpaqfranz/release/zpaqfranz.cpp
c:/zpaqfranz/trail/zpaqfranz.cpp
c:/zpaqfranz/zpaqfranz.cpp
======================================================================================
Files 55 for 162.523.555 bytes (154.99 MB)
0.062 seconds (00:00:00) (all OK)