I had a directory of files that I compressed using:
tar -cvJf my_directory.xz my_directory
Now I've gone to decompress it using:
xz -dv my_directory.xz my_directory
and the resulting file is simply my_directory. It has no extension and it's not a directory, but the size corresponds exactly with what the original directory should be in its decompressed state.
-rw-rw-r-- 1 user computer 1.1G Jun 8 12:16 my_directory
What did I do wrong, and is there a way to remedy this if I no longer have access to the original uncompressed directory?