The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Can no longer login. thebigm Forum Support Area for Unregistered Users & Account Problems 0 07-16-2007 10:52 AM
finding duplicate files by size and finding pattern matching and its count jerome Sukumar Shell Programming and Scripting 2 12-01-2006 01:20 AM
NIS no longer twpvw5 HP-UX 8 11-15-2005 08:46 AM
Unix Command for finding Nul Characters fundidor UNIX for Dummies Questions & Answers 2 05-01-2005 08:32 AM
finding exact characters jrdnoland1 UNIX for Dummies Questions & Answers 3 03-25-2002 07:52 PM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 05-12-2006
Registered User
 

Join Date: May 2006
Posts: 2
Finding absolute pathnames longer than 100 characters

Please help. This simple problem is really stumping me.

Is there are way to find absolute pathnames for all files on your system that are longer than 100 characters?

I'm using bash shell to attempt it, but have come up with nothing so far.

I appreciate any help offered.

Nauty

Last edited by nauty; 05-12-2006 at 05:17 AM.
Reply With Quote
Forum Sponsor
  #2  
Old 05-12-2006
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
I think something like this one-liner may do it, but I have not tested it...

find / -print | while read pn ; do ((${#pn} > 100 )) && echo $pn ; done
Reply With Quote
  #3  
Old 05-12-2006
Registered User
 

Join Date: May 2006
Posts: 2
Thanks!

Worked like a charm. Thanks a bunch
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 11:48 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0