Re: Newb request: scripts
From: Michael Heiming (michael+USENET_at_www.heiming.de)
Date: 03/23/04
- Next message: Roeland Ordelman: "Re: while-loop stops looping"
- Previous message: Brian Gough: "Re: while-loop stops looping"
- In reply to: Ann: "Newb request: scripts"
- Next in thread: Walt R: "Re: Newb request: scripts"
- Reply: Walt R: "Re: Newb request: scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 23 Mar 2004 12:14:18 +0100
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Ann <procesorabc@poczta.onet.pl> wrote:
> Hi. I need 3 scripts that will help me in Linux - wound anyone try to help
> me? I know it's
> not hard to learn bash, but i'm new and i gave up. They are simple. Maybe
Why? You said it's not hard. Sounds a bit like you would be to
lazy to do any work on your side. But then, this is a newsgroup
not a corporate help-desk, where people get paid to help you.
There are lots of knowledgeable people out here willing to help
you, but you have to do your part first.
> there is something similar to be found on www - I've found many others, but
> none of these:
Sounds like homework?
> 1. Simple thing to move directory with subdirectories/files to new location.
Use 'mv' no script needed.
> Nice if it returns number of copied (moved) files and megabytes.
You would need to calculate/store them before moving, since mv
doesn't display even with -v the files moved, only directories on
my box.
> 2. Script that lists (ls) current dir with full info (date/size) and
> optionally, with arguments:
There's no script needed, just try 'man ls' for options.
> sorts (by date or size) and number of positions listed (example
> my_list -s -10 that will show 10 full-info files sorted by size)
ls -alS | head -10
Show us what you already have?
- --
Michael Heiming (GPG-Key ID: 0xEDD27B94)
Remove +SIGNS and www. if you expect an answer, sorry for
inconvenience, but I get tons of spam.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFAYBwJAkPEju3Se5QRAn2dAJ9QvPvGsTBqL4thcZTIEHZhAoFzGwCgsjOI
34di14V85+utgELuw6WBaYw=
=E5RP
-----END PGP SIGNATURE-----
- Next message: Roeland Ordelman: "Re: while-loop stops looping"
- Previous message: Brian Gough: "Re: while-loop stops looping"
- In reply to: Ann: "Newb request: scripts"
- Next in thread: Walt R: "Re: Newb request: scripts"
- Reply: Walt R: "Re: Newb request: scripts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|