Skip to content

This repository contains a C++ code to collect all files of certain extension found recursively in a directory and put them together in on directory.

License

Notifications You must be signed in to change notification settings

ahmedfawzyelaraby/files-recursive-collector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Files Recursive Collector

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.

Getting Started

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.

Prerequisites

  • 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)

Installation

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

Usage

$ ./files-recursive-collector -h # this command will get you the instructions you need to run the code.

About

This repository contains a C++ code to collect all files of certain extension found recursively in a directory and put them together in on directory.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published