Java Mailing List Archive

http://www.redhatconfig.com/

Home » Red Hat Linux Discussion »

copy a bunch of rile, then delete from source

Ugo Bellavance

2008-04-10

Replies:

Author LoginPost Reply
Hi,

  Here is what I want to do:

- Copy a number of files (using a wildcard, like logapplication*.tar.gz)
from one server to another
- Once done, I want to delete the files from the source server.

The first step is easy to do... ssh keys, cronjob, and scp. However, can I
be sure that the file has been copied successfully? I thought of comparing
md5sums source/destination before deleting the source.

Could rsync be of help?

Regards,

Ugo


--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)
https://www.redhat.com/mailman/listinfo/redhat-list
©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.