Re: [ilugd] How not to move files in use using cron

2011-01-10 Thread Raj Mathur (राज माथुर)
On Monday 10 Jan 2011, Gora Mohanty wrote: > On Mon, Jan 10, 2011 at 5:32 PM, wrote: > > Hello Gora Mohanty, > > > > Thanks for the message about "Re: [ilugd] How not to move files in > > use using cron". This is a one-time automatic confirmation to let >

Re: [ilugd] How not to move files in use using cron

2011-01-10 Thread Gora Mohanty
On Mon, Jan 10, 2011 at 5:32 PM, wrote: > > Hello Gora Mohanty, > > Thanks for the message about "Re: [ilugd] How not to move files in use using > cron". This is a one-time automatic confirmation to let you know you're on my > Boxbe Guest List. [...] Any

Re: [ilugd] How not to move files in use using cron

2011-01-10 Thread Gora Mohanty
On Mon, Jan 10, 2011 at 5:27 PM, Gora Mohanty wrote: > (Please do not email me directly with follow-ups on posts that were sent >  to a mailing list. This is copied back to the list.) [...] My apologies, Amit. I see that it was I who went off-list by mistake. Regards, Gor __

Re: [ilugd] How not to move files in use using cron

2011-01-10 Thread Gora Mohanty
(Please do not email me directly with follow-ups on posts that were sent to a mailing list. This is copied back to the list.) On Mon, Jan 10, 2011 at 5:05 PM, Amit Sharma wrote: [...] > I am trying todo the following: > > Of all *.prn, DO NOT MOVE the files which are OPEN. Move all other *.prn t

[ilugd] How not to move files in use using cron

2011-01-09 Thread Amit Sharma
Hi,   I have a cron that moves *.prn files to another folder every 1 minute.   Now the issue is that even if any, say 1.prn is in use by some other process, the cron moves it.   How to restrict this?   I tried modifying the below (googled), but still file in use also gets copied.   comm -2 -3 <(fi