Simple backup script
Add following header for *nix users

#!/usr/bin/env python
# ~*~ codding: utf-8 ~*~


Not required variable definition

test_dir = None


Because of loop 

for test_dir in dirs:


Use native generator insted

def get_dirs(dirs):
    """Get all immidiate directories in the current directory"""
    if not len(dirs) &gt; MAX_DIRS:
        return []

    for test_dir in dirs:
        try:
            yield datetime.strptime(test_dir, TIME_FORMAT)
        except ValueError:
            print("Directory %s does not match date format, ignoring..."
                  % test_dir)


If you will use it like module, add

if __name__ == '__main__':
    copy_directory()
    remove_dirs()


IMHO: don't use direct input with input(), try parse command line instead using sys.argv or with help of some more powerful libraries.