Re: Find World readable/writable files syntax error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2005-02-06 at 01:53 +0900, Mark Sargent wrote:
> Hi All,
> 
> used the following,
> find / \( -perm -a+r -o -perm -a+w \) ! -type 1 >> world_readwrite.txt
> from this article,
> http://www.linux.com/article.pl?sid=04/04/15/1918219
> but, got the following error,
> find: invalid argument `1' to `-type'
> 
> Is the syntax different for fedora2..? Cheers.

"man find" has the answer.

Hint: you are confusing "1" and "l".

Paul.
-- 
Paul Howarth <paul@xxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux