This repository contains C++ based code implementation that searches recursively for certain file extension in an input directory and collect all these files into an output directory.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. Please be noted that this code is tested on Ubuntu OS only.
- Aptitude Dependencies
$ sudo apt update
$ sudo apt -y install git curl wget cmake build-essential lsb-core unzip
- Boost
$ wget https://sourceforge.net/projects/boost/files/boost/1.62.0/boost_1_62_0.tar.gz
$ tar -xzvf boost_1_62_0.tar.gz
$ cd boost_1_62_0
$ mkdir build
$ ./bootstrap.sh --with-libraries=filesystem --with-libraries=program_options
$ sudo ./b2 install -j$(nproc)
You can skip this step and use the already built executable in github actions.
$ git clone https://github.com/ahmedfawzyelaraby/files-recursive-collector.git
$ cd files-recursive-collector
$ mkdir build
$ cd build
$ cmake ..
$ make -j
$ ./files-recursive-collector -h # this command will get you the instructions you need to run the code.