Skip to content

Swapping 2 files or directories using the renameat2() function.

Notifications You must be signed in to change notification settings

stuhlmann/swapf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

swapf

Command line tool for swapping 2 files or directories using the renameat2() function / system call.

Requirements

Kernel >= 3.15

glibc >= 2.28

Compilation

gcc -o swapf -Wall -Wextra -O3 main.c

Usage

swapf path1 path2

About

Swapping 2 files or directories using the renameat2() function.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages