[LUGOS] Multiple file copy

Roman Maurer roman.maurer at hermes.si
Tue Dec 4 11:56:26 CET 2001


Jure Koren wrote:

> Najbrz ne, je pa precej enostavno takole:
> for f in /stari/home/*/nek_file; do cp $f /home/$f/ ; done

Ali pa:
(cd /stari/home/ ; tar cf - */nek_file) | (cd /home/ ; tar xf -)
-- 
	Pozdrav,
	  Roman




More information about the lugos-list mailing list