public override void Execute(Sitecore.Shell.Framework.Commands.CommandContext context)
 {
     if (context.Items.Length == 1)
      {
     Item item = context.Items[0];
     UnversionedToVersioned utv = new UnversionedToVersioned();
     utv.MigrateItem(item);
      }
 }
        private void Migrate(Item parentItem)
        {
            UnversionedToVersioned utv = new UnversionedToVersioned();
             foreach (Item childMediaItem in parentItem.Children)
             {
            if (childMediaItem.TemplateID != TemplateIDs.MediaFolder)
            {
               if (childMediaItem.TemplateID != TemplateIDs.Folder)
               {
                  itemsProcessed++;
                  utv.MigrateItem(childMediaItem);
               }
            }
            else
            {
               Sitecore.Diagnostics.Log.Warn("MediaConversion: Cannot change unversioned media tamplate to versioned for " + childMediaItem.Paths.FullPath, this);
            }

            Migrate(childMediaItem);
             }
        }