This project I created because I mistakenly run a command.
sudo rm -rf ~Problem Begins.
- I lost all my personal data. Hope fully I had a backup of the data but it is outdated.
- I lost my personal customization which I had acquired from reading and watching may tutorial and articles.
Solution:
- I had recovered the lost data by the tool named
photorec photorecrecovered my data but my file name ware gone. It is default to identify the data. which file contain what.
So I come up with this project to search all the xml file which contain some text and copy those file to different folder.
At this point of time. The tool name grep do not come across my mind. That I could use it. The best tool for doing things like this.
By googling and using AI I got this.
grep -rl --include="*.xml" "xfce4-panel" /path/to/source | xargs -I {} cp {} /path/to/destinationBut, I did some coding to achieve this task. Feel free to have a look and I hope it will helpful to you. Please give some comment and advice on the matter
git clone https://github.com/ravirajkarn/Utility.git
cd Utility
conan install --build=missing -s build_type=Release
cmake -G "Ninja" -S . -B ./build/Release -DCMAKE_BUILD_TYPE=release --preset conan-release
cmake --build ./build/Release