setfile -a V testfile.txt
The file or folder is no longer visible via the Finder GUI. To make your files and folders visible again, use this command:
setfile -a v testfile.txt
Sort of technology related, but other stuff too
setfile -a V testfile.txt
setfile -a v testfile.txt