I have used a similar type script for archiving files on a AIX system. Try using the keyword -subdir=yes with your archive command.