hm-arora / PyCopy

Python Script for copying or moving files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PyCopy

Python script to copy music , movies , images , pdf etc . to their specified folder

It reduces the effort of copying one type of files at a time and paste in a folder (eg : copying music files from usb and paste in a music folder and again go to usb folder and copying all movies and then paste in a movies folder)

Grab the latest version of Python at https://www.python.org/downloads/.

Usage:

Linux : with Nautilus file manager(Tested on Debian Based with nautilus as file manager):

  • Go to ~/.local/share/nautilus/scripts/ (Ubuntu 13.04 or above) OR ~/.gnome2/nautilus-scripts/ (Ubuntu 12.10 and below) folder and add Movefiles.sh in the folder.

  • for ubuntu 13.04 or above

chmod +x ~/.local/share/nautilus/scripts/Movefiles.sh
  • for ubuntu 12.10 and below
chmod +x ~/.gnome2/nautilus-scripts/Movefiles.sh
  • The path for file.py is hardcoded to Desktop ...U can change it accordingly.

  • Add more extenstion in the exten.txt file with name specified of

  • Add folder path in the folder.txt file

  • Make sure in above files (exten.txt and folder.txt) have same name and same number of tags in left side

  • Now Right Click on the selected files you want to copying from that path to specified path . Right Click -> Scripts -> Movefiles.sh

DEMO:

demo

Installation:

IMAGE ALT TEXT HERE

About

Python Script for copying or moving files


Languages

Language:Python 86.1%Language:Shell 13.9%