Timeline for Find Directory if Number of files is over X
Current License: CC BY-SA 3.0
7 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 5, 2016 at 16:27 | history | edited | Kira | CC BY-SA 3.0 |
added 5 characters in body
|
| Jan 13, 2016 at 17:05 | comment | added | Dave Hamilton | This is a perfect solution, Sorry for the slow reply Filenames contain no spaces, This give me just what i was after. I was going to start filtering it down by file type, If you wanted to amend to include a filetype i.e. .xml Then that would be perfect. Its not required so if it cannot be done without re-writing then dont worry, But it would help when we have a server crash and am locatnig scripts that have not processed there IN Data. | |
| Jan 13, 2016 at 17:05 | vote | accept | Dave Hamilton | ||
| Jan 5, 2016 at 15:31 | comment | added | Kira | I'm aware of that, I'm waiting OP to answer my comment... | |
| Jan 5, 2016 at 15:16 | comment | added | Chris Davies |
ls -1 will list the contents of directories if your find happens to discover one. Perhaps you want ls -1d or find ... -type f. But the whole thing will collapse if any of the filenames contains a space anyway.
|
|
| Jan 5, 2016 at 14:54 | history | edited | Kira | CC BY-SA 3.0 |
added 192 characters in body
|
| Jan 5, 2016 at 14:49 | history | answered | Kira | CC BY-SA 3.0 |