The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
merging of files ! not in sequential in paralel arunkumar_mca UNIX for Dummies Questions & Answers 1 02-14-2008 12:28 PM
Reading special characters while converting sequential file to line sequential Rajeshsu High Level Programming 2 07-10-2006 02:38 PM
listing members of a unix group ovaska UNIX for Dummies Questions & Answers 2 03-09-2005 05:54 PM
Recursive directory listing without listing files psingh UNIX for Dummies Questions & Answers 4 05-10-2002 10:52 AM
indexed sequential access in c files vrkiruba High Level Programming 0 05-23-2001 03:42 AM

 
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1 (permalink)  
Old 01-24-2007
kentm kentm is offline
Registered User
  
 

Join Date: Jan 2007
Posts: 1
listing sequential files as one group...

Hi,

I posted this over at Macnn and was redirected here... I'm not a unix programmer at all, but I have some backup if needed. Thanks in advance for any input.

Is there a command for the osX terminal that will list sequentially numbered groups of file as one line instead of individually, while listing other files and directories correctly?

Meaning that a group of files:

image.001.tif
image.002.tif
image.003.tif
image.004.tif
image.005.tif

would be listed as

image.001-005.tif


and a dir with other files and dirs:

image.001.tif
image.002.tif
image.003.tif
image.004.tif
image.005.tif
dir01/
dir02/
imageB.tif

in it would be:

image.001-005.tif
dir01/
dir02/
imageB.tif

?

Wold love to have this...

Thanks,
KM
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:09 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0