![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| calculate from three files | koti_rama | Shell Programming and Scripting | 5 | 01-08-2008 09:27 AM |
| bash script working for small size files but not for big size files. | davidpreml | Shell Programming and Scripting | 1 | 11-01-2006 11:06 AM |
| calculate directory size by year of file | igidttam | UNIX for Dummies Questions & Answers | 11 | 09-25-2006 07:40 PM |
| How to calculate file's size in directory and subdirectory | KLL | Shell Programming and Scripting | 4 | 10-16-2003 07:02 AM |
| how to calculate the file size? | rooh | UNIX for Dummies Questions & Answers | 3 | 08-17-2001 01:45 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
calculate size of some files
Hi,
1-I want to calculate the size of all files which are generated during last month in a directory. How can I do that ? Of cours, I find them by : $ls -l | grep jun but how to calculate the sum of their size ? 2- the same but for all files generated last month and before that. many thanks before. |
|
||||
|
If you combine the following scripts you should get what you want:
http://www.pixelbeat.org/scripts/find_mm_yyyy http://www.pixelbeat.org/scripts/add The following might work straight off? find_mm_yyyy 06 2005 -printf "%s\n" | add |
|
||||
|
thank you.
I want to find all from may 2005 For the first I have this problem : $altest Usage: altest MM YYYY $altest 05 2005 date: illegal option -- - date: illegal option -- t date: illegal option -- c How should I enter the date then ? Thanks. |
|
|||||
|
Quote:
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|