12

Help for shell scripts for moving all files from one directory to another

view full story
linux-howto

http://www.unix.com – Hi , Can you please check this code .I am getting the follwing error while executing the script. Please help me out. Code: #rm /tmp/$$ #!/bin/ksh dir_one="/usr/bin/sou" dir_two="usr/bin/sou/temp" for files in $dir_one/*.txt               do                                                                           if [ -a $files ]; then&nbs (HowTos)