Timeline for Grep for pattern recursive and disable file
Current License: CC BY-SA 3.0
18 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 4, 2016 at 10:47 | comment | added | Anatol |
Heslacher got it thanks You also should not append your revised code to the question. Posting improved code is an answering activity, not a questioning activity.
|
|
| Feb 4, 2016 at 10:41 | comment | added | Heslacher | Welcome to Code Review! I have rolled back the last edit. Please see what you may and may not do after receiving answers. | |
| Feb 4, 2016 at 10:40 | history | rollback | Heslacher |
Rollback to Revision 3
|
|
| Feb 4, 2016 at 10:35 | history | edited | Anatol | CC BY-SA 3.0 |
added 579 characters in body
|
| Feb 3, 2016 at 20:06 | vote | accept | Anatol | ||
| Feb 3, 2016 at 17:28 | answer | added | janos | timeline score: 2 | |
| Feb 2, 2016 at 17:58 | vote | accept | Anatol | ||
| Feb 3, 2016 at 20:06 | |||||
| Feb 2, 2016 at 17:48 | answer | added | vnp | timeline score: 2 | |
| Feb 2, 2016 at 16:20 | comment | added | Anatol |
Hi Andrea Corbellini, correct the idea behind chmod was to inspect them later I will mv them to a save place. But I cannot think of a situation where one can read a file with permission 000. Can you give me a buzzword?
|
|
| Feb 2, 2016 at 16:17 | comment | added | Anatol |
Hi triplee thanks for your reply means else chmod 000 "$STR" should do it?
|
|
| Feb 2, 2016 at 15:30 | comment | added | tripleee | Your script will not work correctly on file names containing colons, either. | |
| Feb 2, 2016 at 15:28 | comment | added | tripleee | You need to put any variable containing fileeor directory names in double quotes. Otherwise, names containing spaces, shell metacharacters etc will not work. | |
| Feb 2, 2016 at 15:13 | history | edited | Jamal | CC BY-SA 3.0 |
added 1 character in body
|
| Feb 2, 2016 at 15:13 | comment | added | Andrea Corbellini |
I guess you are using chmod 000 (instead of rm) to allow later inspection. If that's the case, then I'd move the file to another directory: in some situations, files may be read even if they are -r.
|
|
| Feb 2, 2016 at 15:12 | history | edited | Jamal | CC BY-SA 3.0 |
deleted 2 characters in body; edited title
|
| Feb 2, 2016 at 14:52 | comment | added | glenn jackman | Why don't you delete it? | |
| Feb 2, 2016 at 14:41 | review | First posts | |||
| Feb 2, 2016 at 16:07 | |||||
| Feb 2, 2016 at 14:41 | history | asked | Anatol | CC BY-SA 3.0 |