Sunday, 11 August 2019

linux - Backup a programming directory


I have a directory with many compiled C programs that I would like to back up. Right now they are named program.out but I would like to change this to just program.


Would it still be possible to exclude these? Also, what sort of regex would I use to quickly rename them all?



Answer



For backing up your code use git or other version control software. On the internet you got lot of choices to name some: github, bitbucket.


In git you got file .gitignore if you add there *.out then it wont be transfered to the repository


No comments:

Post a Comment

How can I VLOOKUP in multiple Excel documents?

I am trying to VLOOKUP reference data with around 400 seperate Excel files. Is it possible to do this in a quick way rather than doing it m...