Re: find -newer oder -cnewer
Hallo Stefan,
Stefan Keul <st.keul@gmx.de> wrote:
> ich hab den Unterschied von find -newer /datei und find -cnewer /datei
> nicht verstanden. Ok -cnewer hat etwas mit einem Status zu tun. Was
> ist hier mit Status gemeint?
Zum "Status" gehören z.B. auch die Zugriffsrechte:
deutschm@hpda:~$ echo "Haha" >foo.1
deutschm@hpda:~$ echo "BlaBla" >foo.2
deutschm@hpda:~$ chmod a+rwx foo.1
deutschm@hpda:~$ find . -maxdepth 1 -newer foo.2
deutschm@hpda:~$ find . -maxdepth 1 -cnewer foo.2
../foo.1
Gruß
Niklas
--
Man is the measure of all things.
-- Protagoras
Reply to: