Linux: copy files based on a user
The script is incomplete but can be tweaked to meet your needs
find /root/ -user apache -print | \
while read file
do
cp "$file" /root/test1/`"$file"`
done
The script is incomplete but can be tweaked to meet your needs
find /root/ -user apache -print | \
while read file
do
cp "$file" /root/test1/`"$file"`
done
Comments are closed.
Copyright © 2010 OpenKB::Server Technical Papers - Computer , server issues and solutions
This website powered by WordPress.org and a free wordpress
theme designed by TopWPThemes.com.
For the latest news on web
hosting and domain names
log on to WebHostingFan.com.