In Progress

write a linux shell to uglify js files

I need a shell script which will be run on Fedora linux.

The shell is to traverse and uglify/minify javascript files in a given folder structure

Here I have a sample script for reference , it’s working fine but I need it more robust and easy to extend.

1. Please set a black list, the script will skip files in the blacklist, the blacklist can be folder name or file name

If it’s folder name the whole folder will be skipped, if it is filename the file will be skipped

2. The blacklist should be easy to configure in the code

3. Wildcard can be used in the blacklist, eg, mainpage*.js

4. Should consider uglify multiple files into one file, so, please leave some rooms for this and consider delete redundancy files.

This is a very easy script and I can only give 20$ for it.

This is not about how to obfuscate/uglify javascript files, there is existing tools named Uglify-js.

what you do is write shell the traverse files in the folder and run the uglify command.

please take a look of the sh file attached and you will see it's really a simple requirement.

Skills: Javascript, Linux, node.js, Shell Script, Software Architecture

See more: shell linux source code, linux write shell script web request, write linux shell linux, write shell linux, parsing html files using shell script, reading files folder shell script, virtualization support bash shell linux, add line file shell linux, deleting files perl script linux, upload files php mysql linux, upload multiple files multiple hosts linux, shell cgi write header, script retrieve files via ftp linux, free thumb website generator shell linux server, transfer files hard drive linux, write html code post article blog, write php code tiny mce, linux jpeg source code, write rss code, write integration code, connect board java write game code, linux squid configure, linux squid configure 2008, automatic sender files bluetooth server linux, write html code image

About the Employer:
( 2 reviews ) Beijing, China

Project ID: #14415747

Awarded to:

brianmcdz

A script to do this sounds fairly simple and would be a quick turnaround. Relevant Skills and Experience I have been writing similar shell scripts for the past 8 years. Proposed Milestones $20 USD - Deliver shell scr More

$20 USD in 1 day
(0 Reviews)
0.0

12 freelancers are bidding on average $27 for this job

tarekahmed

On time and On budget I can do all what you want .... I did 311 projects with a rate of 5/5 .... please check [url removed, login to view] Relevant Skills and Experience I have a Professional team for More

$25 USD in 1 day
(21 Reviews)
5.7
versacode

We are a group of electrical engineers and web developers. We can help you with developing the blacklist feature into your current script supposing that it already minifies JS. Relevant Skills and Experience We have 9 More

$20 USD in 1 day
(26 Reviews)
5.4
zkutch

Hello More 20 years programming experience. I need more details to set real price and time. Regards. Relevant Skills and Experience More 20 years programming experience. Proposed Milestones $25 USD - script I need m More

$25 USD in 1 day
(23 Reviews)
4.8
bhupenderbassan

Shell script to minify JS files in a folder Relevant Skills and Experience Linux, Shell Scripting Proposed Milestones $30 USD - Shell script to minify JS files in a folder

$30 USD in 3 days
(6 Reviews)
3.5
alexandrsolodov

Hello. I constantly work with the technologies specified in the job description. I need more information, but in any case, working for me is not a problem.

$23 USD in 5 days
(9 Reviews)
3.2
$25 USD in 1 day
(3 Reviews)
2.8
$70 USD in 1 day
(5 Reviews)
2.8
slonka

Already have a script. Takes dir as 1st param and blacklist wildcard as 2nd. There is also a keep flag that let's you keep original files and combine flag that combines all js to [url removed, login to view] Relevant Skills and Expe More

$20 USD in 1 day
(1 Review)
0.3
hsbijarniya

A proposal has not yet been provided

$20 USD in 1 day
(0 Reviews)
0.0
Mindalin

Hello. I constantly work with the technologies specified in the job description. I need more information, but in any case, working for me is not a problem.

$23 USD in 5 days
(0 Reviews)
0.0
hrsblr89

I understand that you require a shell script to uglify all JavaScript files except the ones specified in black list.

$20 USD in 1 day
(0 Reviews)
0.0