GNU commands like maxdepth are not working for Aix ,Alternate command for Taring the folder
#THIS SCRIPT BEGINS HERE
#Check for the all folders in the Directory
find /fss/fin -type d -name "*" -print
Tar the Folders in the current directory and Move it into separate directory
(cd /fss/fin; find * -maxdepth 0 -type d -print 0 | xargs -0 tar -cvf -) | tar -xf - -C /fs/fi
#THIS SCRIPT ENDS HERE
#shell Script should contains for Aix
1)Find all the folders in the directory /fss/fin
2)Tar the Folders
3)Move the folders in another directory /fs/fi which in server s11003232sz.net
4)When user requests untar the Folders and move it back to the orignal directory /fss/fin