Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

KaPOWitsCHRIS

macrumors 6502a
Original poster
Apr 8, 2010
555
155
United Kingdom
I need to find any files and folders that have more than 142 characters in the title. I know I can do this by the following command in Terminal:

find -E . ( -type f -or -type d ) -and -regex '.*/[/]{142,}'

And I can browse to a direction doing: cd /directory/folder

However the location I wish to check is on my NAS and I can't quite work out how to browse to the location in Terminal. I've tried cd /nas-name/sharename and the same with the IP but it doesn't work. So I'd appreciate if anyone can point me in the right direction please.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.