Hirdetés

2024. június 19., szerda

Gyorskeresés

Útvonal

Fórumok  »  OS, alkalmazások  »  Linux - haladóknak (kiemelt téma)

Téma összefoglaló

Téma összefoglaló

  • Utoljára frissítve: 2013-09-30 15:51:13

LOGOUT.hu

Mára a ProHardver!/IT.News Fórum is nagylétszámú Linuxban jártas taggal büszkélkedhet. Nehéz szinteket felállítani egy olyan rendszer ismeretében, ami annyira sokrétű, hogy teljesen szinte lehetetlen megismerni minden egyes részét. Azt azonban mindenki tudja, hogy kezdő-e vagy sem. Elsősorban nekik szólnak az alábbiak, de érdemes mindenkinek elolvasnia, mint útjelző táblát.

Összefoglaló kinyitása ▼

Hozzászólások

(#32650) Siriusb válasza Dißnäëß (#32647) üzenetére


Siriusb
veterán

Vagy a find-dal, vagy az fd-vel kellene, én kezdek átszokni ez utóbbira.

Például valami ilyesmi: fd -e txt -x rm.
Először mindenképpen a -x rm nélkül teszteld le!

-e, --extension ext
Filter search results by file extension ext. This option can be used repeatedly to al‐
low for multiple possible file extensions.

-x, --exec command
Execute command for each search result in parallel (use --threads=1 for sequential com‐
mand execution).

Note that all subsequent positional arguments are considered to be arguments to the com‐
mand - not to fd. It is therefore recommended to place the -x/--exec option last. Al‐
ternatively, you can supply a ';' argument to end the argument list and continue with
more fd options. Most shells require ';' to be escaped: '\;'. This option can be spec‐
ified multiple times, in which case all commands are run for each file found, in the or‐
der they are provided. In that case, you must supply a ';' argument for all but the last
commands.

The following placeholders are substituted before the command is executed:

{} path (of the current search result)
{/} basename
{//} parent directory
{.} path without file extension
{/.} basename without file extension

If no placeholder is present, an implicit "{}" at the end is assumed.

Szerk.: de lassú voltam, amire mindent bemásoltam. :D

[ Szerkesztve ]

Útvonal

Fórumok  »  OS, alkalmazások  »  Linux - haladóknak (kiemelt téma)
Copyright © 2000-2024 PROHARDVER Informatikai Kft.