1
0
Fork
You've already forked tidyfile
0
Automation program to sort files into desired directories.
  • C 94.9%
  • Shell 5.1%
2026年03月26日 05:18:17 +01:00
crpath @d1620982c9 Updated crpath to 1.0.3 2026年03月25日 19:30:32 +00:00
scripts Specify C standard. 2026年03月26日 04:07:59 +00:00
.gitignore Initial commit 2026年03月14日 12:07:30 +01:00
.gitmodules Added crpath submodule. 2026年03月14日 11:18:41 +00:00
main.c Made fmove safe from TOCTOU error. 2026年03月24日 04:09:28 +00:00
move.c Remove commented out code. 2026年03月25日 21:13:35 +00:00
move.h Created fmove() 2026年03月18日 18:26:23 +00:00
README.md Update README.md 2026年03月26日 05:18:17 +01:00

tidyfile

Automation program to sort files into desired directories. Being developed on gcc with musl for c99.

TODO

  • Make suite of functions for handling directory queries and move operations.
  • Make library for parsing a config file containing rules for the program.
  • Create simple set of tests.

Structure

The library move.h contains functions relating to the safe movement of files.

Dependencies

  • crpath 1.0.3.

Compile

Either run your c compiler directly like so:

gcc main.c move.c -o main crpath/crpath.c -std=c99

Or use the provided build.sh script like so: (Run from within the scripts/ directory.)

./scripts/build.sh $cc

$cc being the c compiler you wish to use.