I guess in most cases, when extracting a tar archive, we will get a directory with the same name as the archive file but different suffix. But in some unlucky case, as I met today, after extracting a tarball, I find lots of files spread in the working directory, which is a nuisance.
So what I want to learn from you is that - how can I move those newly created files? I know it should be some "find plus rm" fancy approach there, but I don't know exactly how.