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:

Linebreak as a delimiter in listwords? (2003) Email problem.. (2004) Emailer setup (1997) Who is doing sign-ups-got it (1998) Trouble with [fileinfo] - update (2004) Questions To Answer (1997) Viewing Changes (1998) Using a database with a short url (2000) [WriteFile] problems (1997) carriage returns in data (1997) Still Stumped on ShowNext...HELP! (1997) AAgghh!! Help, please. SSL strikes again. (1997) [WebDNA] TCPconnect and Bitcoin rate (2017) [CART] inside a [LOOP] (1997) restart needed???? (1997) problems with 2 tags (1997) Bug? (1997) Location of Browser Info.txt file (1997) RE: Purchased cart being overwritten (1997) Cold Fusion Buster (1997)