Skip to content

Instantly share code, notes, and snippets.

View m3hransh's full-sized avatar
🎯
Focusing

Mehran Shahidi m3hransh

🎯
Focusing
View GitHub Profile
@m3hransh
m3hransh / mv_files.py
Created June 8, 2022 07:05
Useful python scripts
'''
moving files base on the text content
'''
from os import scandir
from os.path import isfile, join
import shutil
mypath = './obsidian'
dstpath = './German/Notes/'
content = '[[German]]'
@m3hransh
m3hransh / main.go
Last active March 2, 2022 17:42
Renaming sub files of series according to their video file names
package main
import (
"log"
"os"
"regexp"
"strings"
)
func Renamify(path string) {