Đã hoàn thành

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.

Kĩ năng: Javascript, Linux, node.js, Shell Script, Kiến trúc phần mềm

Xem nhiều hơn: yui compressor ubuntu, minify command minecraft, jq minify json, command line minify json, python minify json, minify css command line, linux javascript minifier, yui-compressor centos, 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

Về Bên Thuê:
( 2 nhận xét ) Beijing, China

ID dự án: #14415747

Được trao cho:

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 Thêm

$20 USD trong 1 ngày
(0 Đánh Giá)
0.6

10 freelancer đang chào giá trung bình $28 cho công việc này

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 https://www.freelancer.com/u/tarekahmed.html Relevant Skills and Experience I have a Professional team for Thêm

$25 USD trong 1 ngày
(29 Nhận xét)
6.3
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 Thêm

$20 USD trong 1 ngày
(70 Nhận xét)
6.1
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 Thêm

$25 USD trong 1 ngày
(31 Nhận xét)
5.1
$70 USD trong 1 ngày
(9 Nhận xét)
4.8
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 trong 5 ngày
(12 Nhận xét)
4.2
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 trong 3 ngày
(7 Nhận xét)
3.5
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 [login to view URL] Relevant Skills and Expe Thêm

$20 USD trong 1 ngày
(2 Nhận xét)
1.3
hsbijarniya

A proposal has not yet been provided

$20 USD trong 1 ngày
(1 Nhận xét)
0.5
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 trong 5 ngày
(1 Nhận xét)
0.0