[linux] find a subory s diakritikou a medzerami v nazve

Marcel Telka marcel na telka.sk
Pátek Únor 28 11:05:06 CET 2003


Napísané dňa 2003.02.28 10:57, (autor: Peter Gaąparovič):
> >
> > Konkretny priklad by nebol na skodu...
> >
> > --
> 
> Takze priklad: vytvoril som vo win subor s nazvom "cokolvek
> textove.txt"
> (makcen na c aj l, dlzen na posledne e si domysli) a skopiroval som ho
> na
> linux do adresara /texty. Prikaz ls -la v adresari texty mi ho ukaze,
> ale
> find /texty -name "*.txt"
> ho neukaze.

A ked ten subor vytvoris na linuxe, tak ti to funguje?

[marcel na aragorn a]$ touch čokoµvek.txt
[marcel na aragorn a]$ ls -la
celkom 8
drwxrwxr-x    2 marcel   marcel       4096 feb 28 11:03 .
drwxrwxrwt   23 root     root         4096 feb 28 11:02 ..
-rw-rw-r--    1 marcel   marcel          0 feb 28 11:03 čokoµvek.txt
[marcel na aragorn a]$ find -name "*.txt"
./čokoµvek.txt
[marcel na aragorn a]$

-- 
+-------------------------------------------+
| Marcel Telka   e-mail:   marcel na telka.sk  |
|                homepage: http://telka.sk/ |
|                jabber:   marcel na jabber.sk |
+-------------------------------------------+



Daląí informace o konferenci linux