App for checking path character count

Joined
Mar 23, 2015
Messages
2
Reaction score
0
Points
1
I need a osX app that will search a shared drive for files with a file path over a certain file length. The drive is a network share that i need to search. I need it to tell me what files are longer than 256 characters and where those files are. Does anyone here have any recommendations?

Thank you.
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
If you're looking for the case where the path is greater than 256 then this will work. Open up a terminal session, cd to the directory share and run

find . -type f | grep -E ".{255,}"

If you want this printed to a file, then ..

find . -type f | grep -E ".{255,}" |tee -a <filename you wish>

No need to find an app to do what is already built in ;)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top