Unix/Linux Go Back    

Shell Programming and Scripting Unix shell scripting - KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and shell scripts and shell scripting languages here.

Du multiple selected directory

Shell Programming and Scripting

Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 03-07-2013
lxdorney lxdorney is offline
Registered User
Join Date: Feb 2013
Last Activity: 28 September 2015, 7:55 AM EDT
Posts: 31
Thanks: 20
Thanked 0 Times in 0 Posts
Du multiple selected directory


is there any work around to total my selected multiple directory? ie.

directory structure:

total only 4 directory

Sponsored Links
Old Unix and Linux 03-07-2013
ctsgnb ctsgnb is offline Forum Advisor  
Registered User
Join Date: Oct 2010
Last Activity: 22 July 2015, 12:40 PM EDT
Location: France
Posts: 2,933
Thanks: 81
Thanked 627 Times in 598 Posts

du -c folder1 folder2 folder6

Depending on your OS, check the option available

man du

Sponsored Links
Closed Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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

All times are GMT -4. The time now is 08:30 AM.