I just copied a repository of the previous Ubuntu version (13, saucy). It contains both i386 and amd64 versions of the packages. I want to use this repository on a 64 bit PC. Is there a terminal command I can use to remove all of the i386 versions?

Edit: I am assuming that all packages have a amd64 version. Otherwise, if a package only has an i386 version, I want to retain it.