Blue|Fusion Rated XXX
|
Posted: Thu, 09 Aug 2007 14:39:56 Post Subject: |
|
|
1. You can make a script to use rsync on all of the directories. Something like this:
Code: |
dir_list="/home/dir1
/home/dir2
/home/dir3"
for dir in $dir_list; do
rsync -av /root/new.file $dir
done |
2. sed. After you finally get a working sed command that does what you want, it might have been faster doing it all by hand depending how many files there are. _________________ 5 home-built PCs, ASUS A6Jc Laptop, and a PowerEdge 2650 - all running Gentoo. Now if only I can get a car and plane to run it. Take a look at my Gallery! |
|