This script, once added to the Windows Scheduler, automatically creates a backup of your Google Chrome bookmarks.

```
import shutil
import os
import datetime

def setup():
    print ('Enter your Chrome bookmark directory.')
    print ('Standard one is: C:\\Users\\<USER>\\AppData\\Local\\Google\\Chrome\\User Data\\Default')
    bookmarkfolder = input('> ')

    print ('Enter the folder you want to save the backup files in.')
    print ('For example: C:\\Users\\<USER>\\Desktop\\Chrome Bookmarks')
    backupfolder = input('> ')

    with open('user.txt', 'w') as txt:
        txt.write(bookmarkfolder + '\n' + backupfolder)

    copy()

def copy():
    userList = []
    date = datetime.date.today()

    with open('user.txt', 'r') as txt:
        for line in txt:
            userList.append(line.strip())

    shutil.copy(userList[0] + '\\Bookmarks', userList[1])
    try:
        os.rename('Bookmarks', 'Bookmarks' + str(date).replace('-',''))
    except WindowsError:
        os.remove('Bookmarks' + str(date).replace('-',''))
        os.rename('Bookmarks', 'Bookmarks' + str(date).replace('-',''))

def checksetup():
    with open('user.txt', 'r') as setupfile:
        setupfile.seek(0)
        for line in setupfile:
            if '\\' in line:
                copy()
            else:
                setup()

checksetup()

```