Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Manipulating File size

Status
Not open for further replies.

blx

MIS
Oct 9, 2002
23
GB
Hi all,
I need to write a small shell script that will do the following:
1. Do a listing of a certain file in a specific directory.
2. Look at the size of the file, reduce the size of it and then set a limit on the size so that it doesn't exceed a the size that I set.

Is this doable??

Thanks in Advance for any help

Chris
 
loock at man pages of
find and split -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top