Search code examples
filerenamespssfile-rename

Editing a .sav file and re-naming it back. (simple)


I have a xxx.sav file I would like to edit. If i rename the file like xxx.txt.gz I can unzip it and get to the content which I would like to edit. I have done all of that. However I cannot manage to get it back into .SAV format. Is there a way which I can do this after changing a line of code in the .txt?


Solution

  • Remember gzipping your file back and forth, to avoid issues. Your workflow should look something like this:

    rename to txt.gz -> 
    unzip to .txt -> 
    edit -> 
    gzip to .txt.gz