|
Home > Archive > Unix Programming > March 2006 > Simple shell Script to copy file from one location to another
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Simple shell Script to copy file from one location to another
|
|
|
| Hello people
I am new to this group and wondering if any one has a simple script
which copies the file from one location to another location on the same
server.
Thanks
| |
| Gordon Burditt 2006-03-03, 6:42 pm |
| >I am new to this group and wondering if any one has a simple script
>which copies the file from one location to another location on the same
>server.
What about the 'cp' command isn't sufficient for your purposes?
Most systems have more than a single "THE file". And if you're intending
to copy it, you'll end up with at least 2 files.
Gordon L. Burditt
| |
| Lew Pitcher 2006-03-03, 6:42 pm |
| -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mehdi wrote:
> Hello people
>
> I am new to this group and wondering if any one has a simple script
> which copies the file from one location to another location on the same
> server.
The simplest way is to use the cp(1) command. Are you certain that you
want a script for this?
- --
Lew Pitcher, IT Specialist, Corporate Technology Solutions,
Enterprise Technology Solutions, TD Bank Financial Group
(Opinions expressed here are my own, not my employer's)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEBeR1agVFX4UWr64RAipiAJ4sLeMlxZUA
6NgphN59y3VFRZKsRACfarbO
8cWcJaG/UkSopZkGxdI2uDM=
=ihP4
-----END PGP SIGNATURE-----
|
|
|
|
|