10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
can any one help me with a unix command to find out the size of each directory for files placed between 2 dates i.e., date1 & date 2? (3 Replies)
Discussion started by: Codesearcher
3 Replies
2. Red Hat
I am using du -h --max-depth=2 to get list of folders by size upto 2 levels down. Problem is I am not able to sort them in max folder size.
Normally this can be achieved by using du -k | sort -nr * but I can't use it here since it conflicts (the -s argument) with the --max-depth=2 argument.
... (1 Reply)
Discussion started by: rockf1bull
1 Replies
3. Solaris
Hi Forum,
I need to know the size of some user home folders.
I've exported an account list from an Active Directory and wrote it into a file like:
user_1
user_2
user...
user_n
and tried "du -sh < filename", which doesn't work. Get no results.
I don't need the size of all home... (3 Replies)
Discussion started by: borsti007
3 Replies
4. UNIX for Dummies Questions & Answers
I am trying to get the total size of the folder using the below command
but its not working. any ideas?
du -bc <foldername>/|grep total|tr -s " "|cut -d" " -f1
the output i am getting is
78996 total
but i just want it to be as
78996
please help (3 Replies)
Discussion started by: classic
3 Replies
5. Shell Programming and Scripting
Hi,
I need to move 1000s of files from one folder to another.
Actually there are 100K+ files.
Source dir : source1
Target dir : target1
Now if try cp or mv commands I am getting an error message : Argument List too long.
I tried to do it by the time the files are created in the source... (6 Replies)
Discussion started by: unx100
6 Replies
6. Shell Programming and Scripting
Hello everyone,
I have a big folder in a linux server that contains dozen of big files (total folder size ~ 50 GB)
I have a couple of files of 2.5 GB and some others from 100 MB to 1 GB. (that said it's obvious that it's impossible having two 2.5 GB files in one dvd)
The purpose is to... (7 Replies)
Discussion started by: cabrao
7 Replies
7. UNIX for Dummies Questions & Answers
hi,
is possible to calculate the size of a folder using ls ?
ls -s works only for files..
thanks (2 Replies)
Discussion started by: aneuryzma
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
I would like to find the size of a folder. When I run the command
du -k
It is going through all the sub-folder and files and taking really much time.
Is there any command to get the complete directory size without showing the sub-folder and file size.
Appreciate your response.
... (3 Replies)
Discussion started by: TonySolarisAdmi
3 Replies
9. UNIX for Dummies Questions & Answers
Is there a way to limit a certain folder size(e.g. Documents, Desktop)?
:) (2 Replies)
Discussion started by: tisdmin
2 Replies
10. Shell Programming and Scripting
Will any body help me by writing a script in unix to the find out the size of the Main folder which has some 5 to 6 subfolders which in turn has some file in each of these subfolders
regards
victorvvk (2 Replies)
Discussion started by: victorvvk
2 Replies