BoboSet up a cron job with file-batch-toolkit to automatically organize your Downloads folder, clean duplicates, rename files
Your Downloads folder is overflowing. Your Desktop is a mess. Your backup drive has 47 copies of the same file. Let's fix this forever.
npm install -g file-batch-toolkit
file-batch-toolkit organize ~/Downloads/
file-batch-toolkit deduplicate ~/Documents/backups/ --auto-delete
# Create a daily scheduled task
$action = New-ScheduledTaskAction -Execute "file-batch-toolkit" -Argument "organize ~/Downloads/"
$trigger = New-ScheduledTaskTrigger -Daily -At 8am
Register-ScheduledTask -TaskName "Daily Cleanup" -Action $action -Trigger $trigger
# crontab -e
0 8 * * * file-batch-toolkit organize ~/Downloads/ && file-batch-toolkit deduplicate ~/Downloads/ --auto-delete
# Organize with custom folder structure
file-batch-toolkit organize ./mess/ --rules images:Images,documents:PDFs,videos:Media
npm install -g file-batch-toolkit
🌐 Visit us: https://www.tucaowall.vip/
☁️ Get free DigitalOcean credit: https://m.do.co/c/fc5cb7b29a0d
How do you keep your files organized? Share your tips!