All of lore.kernel.org
 help / color / mirror / Atom feed
From: 1stFlight <1stflight@ameritech.net>
To: Staci <spiritlover666@yahoo.com>
Cc: linux newbie <linux-newbie@vger.kernel.org>
Subject: Re: Suggestion for help-page?
Date: Sun, 28 Apr 2002 17:04:40 -0400	[thread overview]
Message-ID: <200204281704.40861.1stflight@ameritech.net> (raw)
In-Reply-To: <20020428204526.57270.qmail@web12808.mail.yahoo.com>

try this 

--begin--
   #!/bin/bash

cp -uv /home/me/*.mp3  /music/

--end--

All it's will do is copy any file ending in .mp3 to your /music directory. 
Note: Linux is case senstive and Windows is not, so the limit this script has 
is that it wont copy a MP3 file. Easily fixed and I know there's neater way 
of doing it, but I don't how to do it. Also when you create the file don't 
forget to make it executable, meaning...   "chmod u+x filename "

					Darryl

P.S. No worries about permissions, fat32 doesn't support them. Note: leave out 
the "begin" and "end" lines

On Sunday 28 April 2002 04:45 pm, Staci wrote:
> Hi!
>
> I want to write a tiny simple bash script for moving
> downloaded mp3s from my /home/me directory to my
> /music directory.
> (Due to /music being fat32, it's actually a process,
> cuz permissions with winFSs are goofy)
>
> Can someone suggest a very VERY newbie-friendly
> help-page for beginners trying to write a script?
>
> Thanks!
> sl
>
> =====
> **************************
> In cyberspace nobody can hear you scream.
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Health - your guide to health and wellness
> http://health.yahoo.com
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

  reply	other threads:[~2002-04-28 21:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-28 20:45 Suggestion for help-page? Staci
2002-04-28 21:04 ` 1stFlight [this message]
2002-04-28 21:34   ` Staci
  -- strict thread matches above, loose matches on Subject: below --
2002-04-28 22:24 Ray Olszewski
2002-04-28 23:08 ` docv

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200204281704.40861.1stflight@ameritech.net \
    --to=1stflight@ameritech.net \
    --cc=linux-newbie@vger.kernel.org \
    --cc=spiritlover666@yahoo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.