Making the 2MASS Point Source Catalog Usable
$ ftp ftp.ipac.caltech.edu Name (ftp.ipac.caltech.edu:user): anonymous 331 Guest login ok, send your complete e-mail address as password. Password: your email address > cd /pub/2mass/allsky > prompt > bin > mget psc_*.gz . . . > quit
gzcat psc_*.gz | tmcat
A file called resort contains all those files where a single object was read out of RA order. You could only sort the files in this file, but there might be some cases with multiple sequential files out of order that would have been missed, so it is recommended that all files be resorted.
ls [root]/*/* > filelist