This is a discussion on More Hidden Treasure within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> So, I've decided to learn C++, and I'm looking through my /usr/doc/Linux-HOWTOs for something that sounds like it might ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| So, I've decided to learn C++, and I'm looking through my /usr/doc/Linux-HOWTOs for something that sounds like it might be applicable, and I spot README. So, being a good little Slackie, I read it. It mentions HOWTO-INDEX. Hello, what's this? So I take a looksee, and it's got them by categories with a little blurb and stuff. And one of the items listed is Tips-HOWTO. Wow. There should be a big red READ THIS FIRST flag on that one! e.g.: ........................................... 2.6. Moving directories between filesystems. Alan Cox, A.Cox@swansea.ac.uk Quick way to move an entire tree of files from one disk to another (cd /source/directory && tar cf - . ) | (cd /dest/directory && tar xvfp -) [ Change from cd /source/directory; tar....etc. to prevent possibility of trashing directory in case of disaster. Thanks to Jim Dennis, jim@starshine.org, for letting me know. -Maint. ] 2.7. mick@lowdown.com Finding out which directories are the largest. Mick Ghazey, Ever wondered which directories are the biggest on your computer? Here's how to find out. du -S | sort -n 2.8 ... ----------------------------------------------------------2.6 A discussion about 2.6 has been on the NG for a week or so, and I've _always_ wondered how to accomplish what 2.7 is doing. That HOWTO is just chock-full of stuff like that. :-) Cheers! Rich |
| ||||
| Rich Grise wrote: > So, I've decided to learn C++, and I'm looking through my > /usr/doc/Linux-HOWTOs for something that sounds like it > might be applicable, and I spot README. So, being a good > little Slackie, I read it. It mentions HOWTO-INDEX. Hello, > what's this? So I take a looksee, and it's got them by > categories with a little blurb and stuff. And one of the > items listed is Tips-HOWTO. > > Wow. There should be a big red READ THIS FIRST flag on > that one! > > e.g.: > .......................................... > 2.6. Moving directories between filesystems. Alan Cox, > A.Cox@swansea.ac.uk > > Quick way to move an entire tree of files from one disk to another > > (cd /source/directory && tar cf - . ) | (cd /dest/directory && tar > xvfp -) > > [ Change from cd /source/directory; tar....etc. to prevent possibility > of trashing directory in case of disaster. Thanks to Jim Dennis, > jim@starshine.org, for letting me know. -Maint. ] > > 2.7. mick@lowdown.com Finding out which directories are the largest. > Mick Ghazey, > > Ever wondered which directories are the biggest on your computer? > Here's how to find out. > > du -S | sort -n > > 2.8 ... > ----------------------------------------------------------2.6 > A discussion about 2.6 has been on the NG for a week or so, and I've > _always_ wondered how to accomplish what 2.7 is doing. That HOWTO is > just chock-full of stuff like that. :-) > > Cheers! > Rich HantsLUG has a page with stuff (I am in HantsLUG): http://www.hantslug.org.uk/cgi-bin/wiki.pl?LinuxHints Also for directory size {ducks}: http://hacks.oreilly.com/pub/h/15 still pissed off about /\ that one - I paid £17.00 for the book only to find it was on-line! And books: http://freebooks.by.ru/Linux.html Nick |