Here are few examples of manual purge.
Examples with do.ashx
1/ Return a list of the objects that were deleted more than 60 days ago, without purging them.
http://serverURL/i4/do.ashx?Cmd=purge&since=60.00:00&list=
2/ Purge all image objects that were deleted more than 30 days ago.
http://serverURL/i4/do.ashx?Cmd=purge&type=image&since=30.00:00
Examples with cmd4 and srv4
1/ Remove all deleted (possible time-out problems)
cmd4 purge -since 00:00
Note: this may go in timeout if the number of the items to purge is too high and timeout too low.
2/ Remove all deleted (no time-out problems)
srv4 purge -since 00:00:01
Note: you can't specify 00:00.00, so the least time interval is 1 second.
3/ Purge pages, also if published to different publishing destinations: the below command unrefs page that will get purged from pubDest on the same cmd line.
Cmd4.exe spike -conditions "e:\Tera\GN4\Cond\mycond.xml" -extend "master.editionRef,page.editionRef,extDoc.editionRef,pageLayer.pages" –unref pubDest.objs –recurse
Note: e:\Tera\GN4\Cond\mycond.xml defines the search condition.
4/ Purge all, but the objects that have a null gn_PurgeTime.
cmd4 purge –auto
5/ Purge specific:
cmd4 purge -ids 1949,1838 -auto -since 20.06:00
“auto” and “since” are ignored, the purge operation is applied only for the object with id 1949,1838 (if exists)