All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Paul Kraus" <pkraus@pelsupply.com>
To: 'Paul Furness' <paul.furness@vil.ite.mee.com>
Cc: linux-newbie@vger.kernel.org
Subject: RE: need method of backing up files
Date: Fri, 8 Nov 2002 16:37:14 -0500	[thread overview]
Message-ID: <05bb01c2876f$0104b300$64fea8c0@pkrausxp> (raw)
In-Reply-To: <1036769889.20840.92.camel@zebra.vil.ite.mee.com>

How can I add the machine name to the output. For instance...
This command writes to the log file that a file is in use and was not
backed up.

cp --preserve --recursive --update "$source"/* $dest 2>> $log

So if I have a variable called $machine and it equals the workstations
name how can I have it written before the log entry.

Example
Myworkstation: output from errors out.

Thanks in advance,
Paul Kraus

-
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-11-08 21:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-07  6:58 Tkdesk Segmentation Fault Peter
2002-11-07 10:41 ` Elias Athanasopoulos
2002-11-08  2:13   ` Peter
2002-11-08  9:53     ` Elias Athanasopoulos
2002-11-08 11:55       ` need method of backing up files Shaggy Im-erbtham
2002-11-08 13:51         ` Paul Furness
2002-11-08 14:35           ` Paul Kraus
2002-11-08 15:38             ` Paul Furness
2002-11-08 21:37               ` Paul Kraus [this message]
2002-11-18 12:08                 ` Paul Furness
2002-11-08 15:09         ` Mr. James W. Laferriere
2002-11-09  2:36     ` Tkdesk Segmentation Fault lawson_whitney
2002-11-10  4:24       ` Peter
2002-11-10 10:22         ` Elias Athanasopoulos
2002-11-11  3:35           ` Peter

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='05bb01c2876f$0104b300$64fea8c0@pkrausxp' \
    --to=pkraus@pelsupply.com \
    --cc=linux-newbie@vger.kernel.org \
    --cc=paul.furness@vil.ite.mee.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.