Nathan J. Brauer

less info
116 reputation
2
bio website nathanbrauer.com
location Hayward, CA
age
visits member for 2 years
seen Aug 11 at 23:29

Feb
9
awarded  Supporter
Feb
9
comment How to search text throughout entire file system?
Note on @NathanKidd 's note: fgrep is deprecated, it's the same as grep -F
Aug
16
comment Flatten Directory but Preserve Directory Names in New Filename
In my one case, it's irrelevant, but the answer should indeed account for that so others can rely on it! Thanks!
Aug
16
awarded  Student
Aug
16
comment Flatten Directory but Preserve Directory Names in New Filename
On first glance, this is a clean, readable solution but @jw013 is right, it won't handle spaces well. Would changing the cp line to cp -v "$FILE" "$NEWFILE" help? (Also, you should not assume only png files.)
Aug
16
comment Flatten Directory but Preserve Directory Names in New Filename
PS: Please also account for file names with odd characters (e.g. spaces)
Aug
16
asked Flatten Directory but Preserve Directory Names in New Filename