source can be dir or file
sync syntax printing