Hi I have got a large folder with hundreds of csv files in it The problem is that some of them are junk, and I know which ones are junk because they were created on certain days, that is before I had honed the programme generating them to ultimate perfection I'd like to get shot of the junk files, but I can't distinguish them by names/label from the ones I want to keep -- the only criterion is the date of making them, but I cannot see a way of telling R to look at the date rather than the name/label Obviously I could plough by hand, but there are loads and if anyone has any ideas I'd be grateful Thanks, Nick Wray PS Just had a thought -- Going off R-piste now but of course is it poss to get rid of them within Windows (which I'm using) rather than R itself? [[alternative HTML version deleted]]
?file.info On Wed, Nov 18, 2015 at 6:12 AM, WRAY NICHOLAS <nicholas.wray at ntlworld.com> wrote:> Hi I have got a large folder with hundreds of csv files in it The > problem is > that some of them are junk, and I know which ones are junk because they > were > created on certain days, that is before I had honed the programme > generating > them to ultimate perfection > > I'd like to get shot of the junk files, but I can't distinguish them by > names/label from the ones I want to keep -- the only criterion is the date > of > making them, but I cannot see a way of telling R to look at the date > rather than > the name/label Obviously I could plough by hand, but there are loads and > if > anyone has any ideas I'd be grateful > > Thanks, Nick Wray > > PS Just had a thought -- Going off R-piste now but of course is it poss to > get > rid of them within Windows (which I'm using) rather than R itself? > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]
WRAY NICHOLAS <nicholas.wray at ntlworld.com> [2015.11.18] wrote:> > I'd like to get shot of the junk files, but I can't distinguish them by > names/label from the ones I want to keep -- the only criterion is the date of > making them, but I cannot see a way of telling R to look at the date rather than > the name/label Obviously I could plough by hand, but there are loads and if > anyone has any ideas I'd be grateful> PS Just had a thought -- Going off R-piste now but of course is it poss to get > rid of them within Windows (which I'm using) rather than R itself? > [[alternative HTML version deleted]]You can list them by date, and them select all the ones with a certain date range. With other operating systems it would be even simplier... P?r -- P?r Leijonhufvud par at leijonhufvud.org