I've issued a command gzip -r project.zip project/* in projects home directory and I've messed things up; every file in project directory and all other subdirectories have .gz extension. How do I undo this operation, i.e., how do I remove .gz extension from script, so I do not need to rename every file by hand?
Wrong zip command messed up my project directory
command line;files;gzip
Alternatively, you could go into said directory and use:$ gunzip *.gzFor future reference, if you want to zip an entire directory, usetar -zcvf project.tar.gz project/