You need a space after -size. On Thu 29 Feb 2024, 03:59 anonymous, <invalid.nore...@gnu.org> wrote:
> URL: > <https://savannah.gnu.org/bugs/?65386> > > Summary: unknown predicate error when using '-1M' as lt 1 > Group: findutils > Submitter: None > Submitted: Thu 29 Feb 2024 03:58:40 AM UTC > Category: find > Severity: 3 - Normal > Item Group: None > Status: None > Privacy: Public > Assigned to: None > Originator Name: Andrew Scott > Originator Email: as.w...@gmail.com > Open/Closed: Open > Release: 4.9.0 > Discussion Lock: Any > Fixed Release: None > > > _______________________________________________________ > > Follow-up Comments: > > > ------------------------------------------------------- > Date: Thu 29 Feb 2024 03:58:40 AM UTC By: Anonymous > find . (-type f) -a (-size -1M) recup_dir.101 > bash: syntax error near unexpected token `(' > find . (-type f) -a -size'-1M' recup_dir.101 > bash: syntax error near unexpected token `(' > find . -type f -a -size'-1M' recup_dir.101 > find: unknown predicate `-size-1M' > find . -type f -a -size -1M recup_dir.101 > find: paths must precede expression: `recup_dir.101' > find: possible unquoted pattern after predicate `-size'? > man find > find . -type f -a -size -999k recup_dir.101 > find: paths must precede expression: `recup_dir.101' > find: possible unquoted pattern after predicate `- > find . -type f -a -size %-999k recup_dir.101 > find: Invalid argument `%-999k' to -size > find . -type f -a -size-999k recup_dir.101 > find: unknown predicate `-size-999k' > find --version > find (GNU findutils) 4.9.0 > Copyright (C) 2022 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <https://gnu.org/licenses/gpl.html>. > This is free software: you are free to change and redistribute it. > > > > > > > > > _______________________________________________________ > > Reply to this item at: > > <https://savannah.gnu.org/bugs/?65386> > > _______________________________________________ > Message sent via Savannah > https://savannah.gnu.org/ > > >