Re: find (path/filename) > 108 characters
Charles Russell wrote:
> Is there a simple way to print out all the files in a directory tree
> that have pathname + filename > 108 characters?
What do you mean? What commands are you trying? I'm able to print them
using, for example, find.
(sorry if lines wrap)
$ find -type f
../1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/file1.txt
../1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/file2.txt
../1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/1234567890/file3.txt
--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
|