https://github.com/dnmfarrell/filecopy
A C daemon that monitors a directory and copies files to a target directory
https://github.com/dnmfarrell/filecopy
Last synced: 8 months ago
JSON representation
A C daemon that monitors a directory and copies files to a target directory
- Host: GitHub
- URL: https://github.com/dnmfarrell/filecopy
- Owner: dnmfarrell
- License: other
- Created: 2014-09-10T02:36:11.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-09-10T03:18:32.000Z (over 11 years ago)
- Last Synced: 2025-06-03T03:09:15.900Z (about 1 year ago)
- Language: C
- Homepage: https://github.com/sillymoose/FileCopy
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
FileCopy
========
A C daemon that monitors a directory, copying any file placed there to a target directory. Source and target directories are configurable with command line args.
Synopsis
--------
$ filecopy /home/myusername/directorytowatch /home/myusername/directorytocopy
Compiling
---------
Compile with gcc:
$ gcc src/filecopy.c -obin/filecopy
Set execute permissions:
$ chmod +x bin/filecopy