Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.01 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.01 KB

Scan and move

this script allows you to scan your download folder with clamav antivirus and move the files to their respective folders (it sorts) the image files (.jpg,.png) it moves them to the Images folder the music files it moves them to the Music folder and so on

--

⚠️this script was tested only on the debian family (debian, ubuntu, etc)⚠️

--

how to use this

You need python 3

1 - Download git project

	git clone https://github.com/Diallomm/Scan_and_move
	cd Scan_and_move

2 - Execute "check_system_and_install.py" with python3

	 python3 check_system_and_install.py
  • he check if you have the good softwares (clamav and tkinter) and make the Folders for future files

3- you can add Scan-file.py in your crontab execute every day at 23H (or another time, it's up to you to choose the frequency )

	crontab -e

add this

	0 23 * * * /usr/bin/python3 "directory where is a script"

exemple:

crontab

last

save and exit , Normally of is Good