Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

HOW DO THIS SHIT

Name: Anonymous 2013-08-18 20:09

I want to have some starting daemon or some shit that will let me do

`mv directory/*.extension /targetdirectory/`

when it detects "*extension" files appearing there with no longer than 1 minute.

I used

`mv directory/*.extension /targetdirectory/`
`sleep 1m` and started it using local service (I'm using Gentoo Linux)

But it's a dirty trick and I should be shot for doing that.
How to do that so it works properly?

Name: Anonymous 2013-08-18 20:16

cron?

Name: Anonymous 2013-08-18 20:19

>>2
I never heard of this.

Thanks, /g/ro!

Name: Anonymous 2013-08-18 20:20

>>2
Actually, what about something that can detect when the file appears in the directory and move it immediately?

Name: Anonymous 2013-08-18 22:53

>>4
lsyncd?

happy to help a fellow /g/ro

Don't change these.
Name: Email:
Entire Thread Thread List