07-06-2009
find the free space of a particular directory
Hi Guys,
I want to find the free space of a particular directory,,
Regards,
Magesh
10 More Discussions You Might Find Interesting
1. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
2. UNIX for Dummies Questions & Answers
How to find the free space & usage of the particular directory in Hp-Unix?
I want to see the usage in % (2 Replies)
Discussion started by: bobprabhu
2 Replies
3. Shell Programming and Scripting
hey, somebody can help me on this broken script?
for i in `find . -name index.html`;do
echo "$i"
awk '{print $0}' $i
done
the path to index.html has space in it. For example,
./10 October/index.html
then echo "$i" will gives two lines instead of one:
./10
October/index.html
how do... (3 Replies)
Discussion started by: patiobarbecue
3 Replies
4. UNIX for Dummies Questions & Answers
Is possible to see how much available space there is on a ftp server and how much is used through ftp ? how ?
free space:
used space:
thanks (1 Reply)
Discussion started by: aneuryzma
1 Replies
5. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
6. Red Hat
Hello, I wanted to calculate free space in my unix file system. Here is my direction. I can use df -h command to get the below output.
Filesystem Size Used Avail Use% Mounted on
===================================================
/dev/vx/dsk/edcdg/data01vol
... (9 Replies)
Discussion started by: govindts
9 Replies
7. Solaris
hi guys, me again ;)
i recently opened a thread about physical to zone migration.
My zone is mounted over a "bigger" LUN (500GB) and step is now to move the old files, from the physical server, to my zone.
We are talking about 22mio of files.
i used rsync to do that and every time at... (8 Replies)
Discussion started by: beta17
8 Replies
8. Red Hat
Hi. My "/usr" folder is running out of space. My "/home" folder is quite large and has a lot of free space. As follows:
Filesystem Type Size Used Avail Use% Mounted on
...
/dev/sda5 ext3 9.7G 2.6G 6.7G 28% /
/dev/sda7 ext3 152G 16G 128G 11% /home
/dev/sda3 ... (7 Replies)
Discussion started by: pkiula
7 Replies
9. Fedora
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
Discussion started by: mojoman
1 Replies
10. UNIX for Dummies Questions & Answers
I have a script like this running under OS X 10.8. The problem arises when the find command encounters a space in the path name. I need the "dir" variable as I'll be extending the script to more general use.
#!/bin/bash
CFS=$IFS
IFS=$(echo)
set dir = "/Users/apta/Library/Mail\... (3 Replies)
Discussion started by: apta
3 Replies
LEARN ABOUT DEBIAN
xml::rss::headline::fark
XML::RSS::Headline::Fark(3pm) User Contributed Perl Documentation XML::RSS::Headline::Fark(3pm)
NAME
XML::RSS::Headline::Fark - XML::RSS::Headline Example Subclass
VERSION
2.2
SYNOPSIS
Strip out the extra Fark redirect URL and strip out the various [blahblah] blocks in the headline
use XML::RSS::Feed;
use XML::RSS::Headline::Fark;
use LWP::Simple qw(get);
my $feed = XML::RSS::Feed->new(
name => "fark",
url => "http://www.pluck.com/rss/fark.rss",
hlobj => "XML::RSS::Headline::Fark",
);
while(1) {
$feed->parse(get($feed->url));
print $_->headline . "
" for $feed->late_breaking_news;
sleep($feed->delay);
}
Here is the before output in #news on irc.perl.org
<rssbot> - [Sad] Elizabeth Edwards diagnosed with breast cancer
<rssbot> http://go.fark.com/cgi/fark/go.pl?IDLink=1200026&location=http://www.msnbc.msn.com/id/6408022
and here is the updated output
<rssbot> - Elizabeth Edwards diagnosed with breast cancer
<rssbot> http://www.msnbc.msn.com/id/6408022
MUTAITED METHOD
$headline->item( $item )
Init the object for a parsed RSS item returned by XML::RSS.
AUTHOR
Jeff Bisbee, "<jbisbee at cpan.org>"
BUGS
Please report any bugs or feature requests to "bug-xml-rss-feed at rt.cpan.org", or through the web interface at
<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=XML-RSS-Feed>. I will be notified, and then you'll automatically be notified of progress
on your bug as I make changes.
SUPPORT
You can find documentation for this module with the perldoc command.
perldoc XML::RSS::Headline::Fark
You can also look for information at:
* AnnoCPAN: Annotated CPAN documentation
<http://annocpan.org/dist/XML-RSS-Feed>
* CPAN Ratings
<http://cpanratings.perl.org/d/XML-RSS-Feed>
* RT: CPAN's request tracker
<http://rt.cpan.org/NoAuth/Bugs.html?Dist=XML-RSS-Feed>
* Search CPAN
<http://search.cpan.org/dist/XML-RSS-Feed>
ACKNOWLEDGEMENTS
Special thanks to Rocco Caputo, Martijn van Beers, Sean Burke, Prakash Kailasa and Randal Schwartz for their help, guidance, patience, and
bug reports. Guys thanks for actually taking time to use the code and give good, honest feedback.
COPYRIGHT & LICENSE
Copyright 2006 Jeff Bisbee, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
XML::RSS::Feed, XML::RSS::Headline, XML::RSS::Headline::PerlJobs, XML::RSS::Headline::UsePerlJournals, POE::Component::RSSAggregator
perl v5.8.8 2006-07-17 XML::RSS::Headline::Fark(3pm)