Timeline for Find result used in if statement
Current License: CC BY-SA 3.0
11 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Mar 26, 2015 at 13:20 | history | edited | John WH Smith | CC BY-SA 3.0 |
deleted 120 characters in body
|
| Mar 26, 2015 at 6:47 | answer | added | mikeserv | timeline score: 0 | |
| Mar 26, 2015 at 5:59 | answer | added | Scott - Слава Україні | timeline score: 0 | |
| Mar 26, 2015 at 5:59 | comment | added | Scott - Слава Україні |
You give a vague statement of an objective, and a command that you know doesn't work. This would be a better question if you stated your objective clearly. I guess it is something like "I want to use the find command to test a single file to see whether it satisfies a find test, such as size = some specified number."
|
|
| Mar 25, 2015 at 15:46 | comment | added | dhag |
As a side remark, I would recommend quoting any variable names as you are expanding them, e.g. "$1", "$2"c; otherwise the script will break if any of its parameters contain white space.
|
|
| Mar 25, 2015 at 15:22 | history | edited | ABC | CC BY-SA 3.0 |
added 332 characters in body
|
| S Mar 25, 2015 at 14:48 | history | suggested | dhag | CC BY-SA 3.0 |
Fixed sample code syntax. Cleanup.
|
| Mar 25, 2015 at 14:47 | review | Suggested edits | |||
| S Mar 25, 2015 at 14:48 | |||||
| Mar 25, 2015 at 14:46 | history | edited | ABC | CC BY-SA 3.0 |
added 4 characters in body
|
| Mar 25, 2015 at 14:43 | answer | added | dhag | timeline score: 3 | |
| Mar 25, 2015 at 14:40 | history | asked | ABC | CC BY-SA 3.0 |