aşağıdaki komutları php exec ile kullanabilirsiniz.

find . -follow -print|xargs ls -1 >> /home/liste.txt
tar cvzf /home/subyedek.tar.gz '/home/user/public_html/subdomain'