P is for Practical | |
PerlMonks |
Re: Monitor new fileby karlgoethebier (Abbot) |
on Dec 05, 2017 at 17:36 UTC ( [id://1204978]=note: print w/replies, xml ) | Need Help?? |
May be you actually want a "hotfolder". On Linux (which i don't have anymore) there is File::Hotfolder. Here is a sketch written in a hurry and not thoroughly tested for the Mac using Mac::FSEvents:
With File::Hotfolder something similar should be possible. Best regards, Karl «The Crux of the Biscuit is the Apostrophe» perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help
In Section
Seekers of Perl Wisdom
|
|