What is the best way to back up a STM32CubeIDE project?
I usually copy the project folder from the workspace, delete the files from the Debug and Release folder, and compact in zip format.
I noticed that the project cleanup function does not clean both Debug and Release folders at the same time.
And I also noticed that the clean function is not very interesting to always do, because the compilation takes longer, especially if the IDE is still being used.
I'm asking this, because I had backups of 20MB each, which amounted to 1GB, and after cleaning the Debug and Release folders, the files only occupied 150MB.
Due to the files being compressed and using Linux, I was able to clean the Debug and Release folders with this command:
$for i in *;do zip -d "$i" USB_HOST_HID*/Debug/\* USB_HOST_HID*/Release/\*; doneNote: USB_HOST_HID = my project folder
Is there an automatic way to backup the projects?
