-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 24 June 2003 02:17, Stelios wrote:
Hello guys
I have installed a cvs and Samba on a system running SuSE 8.0. Under my CVS path i have a module name which i want to tranfer (for backup reasons) every day on a different PC. The problem is that the files on the cvs are like filename.php.v and this is a problem because i want to transfer all of them on the 2nd pc in a specific location (on the apache root folder) where apache is running and ofcourse it can recognize .php.v extensions. Any suggestions on how i can rename on the fly all this files before copying all this to the 2nd PC ?
Thanks
There is a shell utility that I found in the "Unix Power Tools v2.0" by O'Reilly that can rename multiple files in one command structure. This should be easier for you to use than trying to construct a naming convention script. The scripting may be a bit complex for your use ----- unless you just like to learn how these things work. Just call upon the utility using cron. Syntax is: thomas@suse:~> ren *.php,v *.php thomas@suse:~> I am pretty sure that you can also set the output dir. You can dl it at: http://www.ibiblio.org/pub/Linux/utils/file/ren-1.0.tar.gz HTH. - -- Thomas Jones Linux-Howtos Network Administrator OpenGPG Key: 0x6A3DF6E9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux) iD8DBQE++MmoQT2komo99ukRAnbdAJ9KFR6eXzcISewS6WI7fweALqzEMACgsXai f2wqGhm3UPVUnwc1j1QtYXQ= =MR4T -----END PGP SIGNATURE-----