10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello,
There are 3 directories on FTP server with format yyyymmddhhmiss.
Can someone please let tell me how do I sort these directories in descending order.
I only have get the files from the latest directory on FTP server.
ftp>ls -l
20150707011229
20150707061229
20150707131225
... (2 Replies)
Discussion started by: pavan_test
2 Replies
2. Shell Programming and Scripting
Hi guys,
i'm searching for a command, which gives me back all the directories which are greater than a particular size?
thx for helping so far :b:
guti (2 Replies)
Discussion started by: guti_rocks
2 Replies
3. UNIX for Dummies Questions & Answers
Alright so I've tried a couple different things that at first glance, looked like they worked.
find . -maxdepth 5 -type d -daystart -mtime 1 | xargs du -h Which seems to ignore the previous commands such as depth and modified time.
find .. -maxdepth 2 -type d -daystart -ctime 1 | xargs... (8 Replies)
Discussion started by: Aussiemick
8 Replies
4. Shell Programming and Scripting
Can some one help in sorting the attached file.
I used cmd: sort -r jar1.txt -o sortedjar.txt , but it didnt work.
Thanks for your help in Advance. (6 Replies)
Discussion started by: sawyer
6 Replies
5. Shell Programming and Scripting
Hi ,
I am very new to unix as well as shell scripting. I have to write a script for the following requirement.
In a particular mount, have to list all the directories and sub directories along with size of the directory and sub directory in ascending order.
Please help me in this regard and many... (4 Replies)
Discussion started by: nmakkena
4 Replies
6. Shell Programming and Scripting
Hi,
how to know the size of the files in the directory, exclusing the subfolder. ?
i tried du -h
du -sk
du -k
but its not giving.. (2 Replies)
Discussion started by: mail2sant
2 Replies
7. Shell Programming and Scripting
find -type d -name "TC_*" | sort
That's what I have so far... it finds the appropriate directories and then sorts them. But, when it comes to nested subdirectories, it only sorts relative to the first subdirectory. I want it to sort based on the directory at the end of the path. Does anyone know... (3 Replies)
Discussion started by: crimsondarkn
3 Replies
8. UNIX for Dummies Questions & Answers
Hi
I am using the command below to list the 10 biggest directories and files in my present directory
du -hs * | sort +0 | tail -10
the output is
8K disk-space
16K rish
32K WINDOWS
48K tests
104K imgvdEwLa.jpg
168K 020204_aerosmith_1024768.jdk
3.2M Acdc -... (4 Replies)
Discussion started by: the.noob
4 Replies
9. UNIX for Dummies Questions & Answers
$ls -lrt mydir
total 12
drwxrwxrwx 2 nobody nobody 512 Aug 8 11:51 tmp
drwxrwxrwx 2 nobody nobody 4608 Jan 19 12:20 web.cache
$ ls -lrt mydir/web.cache/
total 0
$ ls -lrt mydir/tmp/
total 0
Can anyone explain me the above results? I know the o/p of ls, but this... (3 Replies)
Discussion started by: rahulrathod
3 Replies
10. HP-UX
Hi All
I want to plan my backups, but 1st i would like to know what is the size of each directory. Is there any command which can show me the size of directories?
Regards (2 Replies)
Discussion started by: cgege
2 Replies