added sync command for syncing a directory to s3