Skip to content

flashbtw/AutoCopyFiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

AutoCopyFiles

Bash Script that uses inotify to detect when files are added to a directory.

How to set it up

You only have to set 3 variables.

targetDirectory

Defines in what directory your new files will be copied.

watchedPath

Defines what directory and its' subdirectories.

fileOwner

Defines which user is going to own the file in the target directory.

It is recommended to use this program as root in order to change rights of foreign files, etc. But be careful with sudo rights! If there's any problem with my program, please open an issue and provide as much information as possible. Much thanks!

Happy coding!

About

Bash Script that uses inotify to detect when files are added to a directory.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages