Re: OT: Unix Find Question

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 57432
interpreted = N
texte = On 4/20/04 3:40 PM, "John Peacock" wrote: >>> find . \ >>> -mtime -7 \ >>> -exec fgrep -l "address@domain.tld" \{} \; \ >>> | xargs -i mv \{} /path/to/store/files/ > ^^^ > > You are missing the option to xargs to have it process the files one at a > time. I added the option - now I get a new error: xargs: illegal option -- i usage: xargs [-0t] [-n number [-x]] [-s size] [utility [argument ...]] MacOS X 10.2.6 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: OT: Unix Find Question ( John Peacock 2004)
  2. Re: OT: Unix Find Question ( Clint Davis 2004)
  3. Re: OT: Unix Find Question ( John Peacock 2004)
  4. Re: OT: Unix Find Question ( Clint Davis 2004)
  5. Re: OT: Unix Find Question ( John Peacock 2004)
  6. Re: OT: Unix Find Question ( Clint Davis 2004)
  7. Re: OT: Unix Find Question ( John Peacock 2004)
  8. OT: Unix Find Question ( Clint Davis 2004)
On 4/20/04 3:40 PM, "John Peacock" wrote: >>> find . \ >>> -mtime -7 \ >>> -exec fgrep -l "address@domain.tld" \{} \; \ >>> | xargs -i mv \{} /path/to/store/files/ > ^^^ > > You are missing the option to xargs to have it process the files one at a > time. I added the option - now I get a new error: xargs: illegal option -- i usage: xargs [-0t] [-n number [-x]] [-s size] [utility [argument ...]] MacOS X 10.2.6 ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Clint Davis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

New Installation (1998) writing db to disk (1997) WebCat website for developers and hosters (2001) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) searching for a variable range with in a found set (2002) [OT] Bad Cookie / Internet Option / Internet Explorer (2004) Not really WebCat - need HTML Grider (1997) Maybe Off Topic -- OS X/UNIX Shell Scripts? (2003) Who is doing sign-ups-got it (1998) What the *(**&^* webcat/mer (1998) Deleting Cookie Problems (2007) RE: Credit card processing - UK (1997) Template Cache problem (2000) Help! WebCat2 bug (1997) Help name our technology! (1997) Success Stories (1997) Is there a max number of fields? (1998) Displaying photo attached to first record (1997) Country & Ship-to address & other fields ? (1997) different show next (1997)