Simple shell Script to copy file from one location to another

  • Follow


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

0
Reply Mehdi 3/1/2006 6:08:59 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

iD8DBQFEBeR1agVFX4UWr64RAipiAJ4sLeMlxZUA6NgphN59y3VFRZKsRACfarbO
8cWcJaG/UkSopZkGxdI2uDM=
=ihP4
-----END PGP SIGNATURE-----
0
Reply Lew 3/1/2006 6:14:13 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
0
Reply gordonb 3/1/2006 6:23:34 PM

2 Replies
2135 Views

(page loaded in 0.023 seconds)

Similiar Articles:













7/22/2012 12:59:07 PM


Reply: