7,945 reputation
826
bio website
location
age
visits member for 2 years, 7 months
seen 7 hours ago
stats profile views 249

The views expressed on this web site are my own and do not necessarily reflect the views of my employer, Oracle.


22h
awarded  Nice Answer
Jun
14
answered Is it possible to view media on the console?
Jun
14
awarded  Excavator
Jun
14
revised How do I find out what hard disks are in the system?
deleted 2 characters in body
Jun
13
comment Having some trouble using “find -exec {} +”
There is no evidence csh is involved.
Jun
13
comment Having some trouble using “find -exec {} +”
Answer updated to explain why I guess it failed with Stephane's script.
Jun
13
revised Having some trouble using “find -exec {} +”
added 588 characters in body
Jun
12
answered Having some trouble using “find -exec {} +”
Jun
11
comment Having some trouble using “find -exec {} +”
What command is <command> ? You might want to fix its odd syntax first as it breaks the POSIX Utility syntax guidelines. (All options should precede operands on the command line.)
Jun
7
answered How does touch -t work internally?
Jun
5
comment sh and grep numbers only
@StephaneChazelas Got it, I overlook the "and". Thanks.
Jun
5
comment How to use arguments with 'find -exec'?
@Hauke I used for i and not $1 as the shell is passed multiple arguments given the -exec + ending.
Jun
5
revised How to use arguments with 'find -exec'?
deleted 1 characters in body
Jun
5
comment How to use arguments with 'find -exec'?
@StephaneChazelas Thanks for the tips, answer updated.
Jun
5
revised How to use arguments with 'find -exec'?
unnecessary semicolon removed; added 187 characters in body
Jun
5
comment sh and grep numbers only
@StephaneChazelas Why would the first one fail ? I just checked and it worked just fine.
Jun
5
comment How to use arguments with 'find -exec'?
What is non portable (I mean non POSIX here) in the other replies so far is the use of non isolated {} in find exec clause, xargs -i is non portable although xargs -I {} would be, rename is non portable as not specified by POSIX, shopt is bash specific. On the other hand, -exec + is definitely portable as specified by POSIX.
Jun
5
revised How to use arguments with 'find -exec'?
a few double quotes added for odd filenames
Jun
5
answered sh and grep numbers only
Jun
5
answered How to use arguments with 'find -exec'?