SEOClerks

Need a shell script written

Need a shell script written

I need a bash script that could do the following things:
1) Sort the files in a folder according to their extension. For example if i run the script like this: .sort.sh jpg gif
then it would create a jpg and a gif folder and move the files to the right folder.

2) The script also needs to create a log file with the list of the moved files and the name of the folders where each file were moved.

3) If i run the script without specifying the extensions, then it should show short how to use message.

I also need the same scrip written in Powershell. Please check out my other gig if your interested.


Requirements

Experience with Shell Script


Skills Required

Webhosting Hosting Seo Linkbuilding Czech

Bids

i can have both of these scripts ready for delivery within the next 24 hours. each script will record its activity to a log file upon completing each sort as requested.

you execute ./sortimages
and it will a find images in path you input or in path this script is in
it will record all image pathes into a log file
it will move or copy gif to gif folder, jpg to jpg folder png to png folder

Created 5 years ago in Programming

Other jobs by lapsang