I want to add a minimal amount of data at the end of a compressed file.
It would be cool if by running a command from bash, such data would be inserted at the end of the existing file.
This would also be used with large files like 50MB for example, and added data can be around 1 Byte.
In Windows the script is doing an echo of the file followed by a character and then writing everything down with >> to the existing file, so it is the same file but plus one character.
Code:
for %%x in (*.EXT) do echo.>> %%x
This example should only show the intention. It does the procedure for every file with the extension specified in the directory it runs.
I hope you understand what I mean..
Many thanks to all the linux 'experts' in advance
edit: I am afraid this belongs to Programming but I can not delete or move