title: Deleting in NSDocumentDirectory
body: <p>I save in <code>NSDocumentDirectory</code> this way:</p>
  
  <pre><code>NSLog(@"%@", [info objectAtIndex:i]);
  NSArray *paths = NSSearchPathForDirectoriesInDomains( NSDocumentDirectory,    NSUserDomainMask ,YES );
  NSString *documentsDir = [paths objectAtIndex:0];
  NSString *savedImagePath = [documentsDir stringByAppendingPathComponent:[NSString stringWithFormat:@"Images%d.png", i]];
  
  ALAssetRepresentation *rep = [[info objectAtIndex: i] defaultRepresentation];
  UIImage *image = [UIImage imageWithCGImage:[rep fullResolutionImage]];
  
  //----resize the images
  image = [self imageByScalingAndCroppingForSize:image toSize:CGSizeMake(256,256*image.size.height/image.size.width)];
  
  NSData *imageData = UIImagePNGRepresentation(image);
  [imageData writeToFile:savedImagePath atomically:YES];
  </code></pre>
  
  <p>I know how to delete all the images in <code>NSDocumentDirectory</code>.</p>
  
  <p>But I was wondering on how to delete all of the images with the name of <code>oneSlotImages</code>.</p>
  
  <p>Thanks</p>