I need to scan all directories & files ander / directory And to rename the host - "node1" with "node_STAR" in file name or directory name
Can some one have brilliant idea how to do that maybe with find or perl ( in order to insert this to my shell script) Any way it's must be very fast in spite we scananing all Linux directories and files
example on - file
/var/tmp/node1 will be /var/tmp/node_STAR file
example on - directory
/etc/my_hosts/node1 will be /etc/my_hosts/node_STAR dir