interessante libreria c# che consente di manipolare/gestire facilmente gruppi di file
http://fluentpath.codeplex.com
Path.Get(args[0])
.GetFiles(p =>
new string[] {
".avi", ".m4v", ".wmv",
".mp4", ".dvr-ms", ".mpg", ".mkv"
}.Contains(p.Extension))
.CreateDirectory(p =>
p.Parent
.Combine(p.FileNameWithoutExtension))
.Previous()
.Move(p =>
p.Parent
.Combine(p.FileNameWithoutExtension)
.Combine(p.FileName));
posted @ venerdì 26 marzo 2010 17:55