A script, perhaps? - GNU/Linux
Users browsing this thread: 1 Guest(s)
|
|||
there is command in linux called inorifywait, you can use like:
inotifywait -emoved_to -emodify -ecreate -c desk/ and gives output in csv format: -c flag desk/,CREATE,a desk/,MODIFY,a (a is a file name) while true; do inotifywait -emoved_to -emodify -ecreate -cdesk/ | cut -d, -f3 | mv $(cat -) ~/doc; done will do your job |
|||
Messages In This Thread |
A script, perhaps? - by Gen - 06-05-2014, 01:58 AM
RE: A script, perhaps? - by venam - 06-05-2014, 03:12 AM
RE: A script, perhaps? - by yrmt - 06-05-2014, 06:37 AM
RE: A script, perhaps? - by dami0 - 08-05-2014, 12:45 PM
RE: A script, perhaps? - by pvtmert - 13-05-2014, 07:29 AM
RE: A script, perhaps? - by springworm - 03-07-2014, 02:12 PM
RE: A script, perhaps? - by sodaphish - 04-07-2014, 01:28 AM
RE: A script, perhaps? - by z3bra - 04-07-2014, 02:52 AM
RE: A script, perhaps? - by sodaphish - 05-07-2014, 01:30 PM
RE: A script, perhaps? - by venam - 15-07-2014, 07:43 AM
RE: A script, perhaps? - by dami0 - 23-07-2014, 11:15 AM
|