Re: [R] recursively rename dir and files

2015-04-10 Thread mbressan
hi jim thank you very much for your help: what a nice piece of code! inspired by your neat solution let me here post a slight variation upon your lines which is now also dealing also with caps in file and dir names (a potentially useful function for the proper housekeeping of the wd) it works

[R] recursively rename dir and files

2015-04-09 Thread maxbre
this is my reproducible example setwd(.) dir.create(./my dir with space) dir.create(./my dir with space/my sub dir with space) file.create(./my dir with space/my dir file with space.txt) file.create(./my dir with space/my sub dir with space/my sub dir file with space.txt) now I need to rename