Skip to content

vicb3/looprm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

looprm

File removal tool for loop recording

Description

looprm is a lightweight command-line tool to maintain free disk space by removing the oldest files from a directory, suitable to implement the loop recording process for recorders and data loggers.

The program works with minimal CPU and memory usage required to fulfill its mission and can effectively process directories containing large numbers of files.

Usage

See the manual page.

Installation

Build a Debian package

git clone https://github.com/vicb3/looprm.git
cd looprm
DEB_BUILD_OPTIONS=noddebs DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildpackage -us -uc -b

Build & install using make:

git clone https://github.com/vicb3/looprm.git
cd looprm
make
sudo make install PREFIX=/usr/local

Portability

The source code of looprm aims to comply with C99 and POSIX.1-2008 with XSI extensions, except for the use of the vsyslog() function.

The build system (makefile) requires GNU Make and a compiler which supports generating source file dependencies with the -MM flag.

License

GPLv3: GNU General Public License version 3

See LICENSE for details.

About

File removal tool for loop recording

Resources

License

Stars

Watchers

Forks

Packages

No packages published