|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | 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. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Du multiple selected directory
Hi, is there any work around to total my selected multiple directory? ie. Code:
directory structure:
mydir
-dir1
---folder1
---folder2
-dir2
---folder5
---folder6
total only 4 directory
-folder1
-folder2
-folder6thanks |
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
Code:
du -c folder1 folder2 folder6 Depending on your OS, check the option available Code:
man du |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| trying to print selected fields of selected lines by AWK | ananyob | Shell Programming and Scripting | 3 | 05-05-2010 05:01 PM |
| concatenating selected lines of multiple files | laiko | Shell Programming and Scripting | 4 | 10-30-2009 12:06 PM |
| [help]Delete or replace text in multiple file and multiple directory | dzufauzan | Shell Programming and Scripting | 16 | 06-05-2009 11:07 AM |
| Find & Copy Selected files to another Directory | hellfyre | UNIX for Dummies Questions & Answers | 3 | 04-07-2009 09:46 PM |
| Running a command on multiple selected files in nautilus script | Nickbowlingdude | Shell Programming and Scripting | 2 | 02-08-2009 10:21 PM |
|
|