Kapalı

Bash script to remove leading/trailing spaces and Samba illegal characters needed

Job Description:

We need to rename a batch of path and files to remove leading/trailing space plus samba illegal characters \ | " : ; < > * ? ( ) "

Here's an example of what we desire :

old :

./ ABC - Financing/2018 - ABC Capital Innovation Fund 2018 (GGGG)/0 - Dataroom/8 - Vérification diligente/3. Governance/ 2017Q1/ Documents de Julie/@eaDir/ PPP@SynoResource

new:

./ABC - Financing/2018 - ABC Capital Innovation Fund 2018 GGGG/0 - Dataroom/8 - Vérification diligente/3. Governance/2017Q1/Documents de Julie/@eaDir/PPP@SynoResource

--------------------------------------------------------------------------

Need to work on either of the following :

- Linux Server 3.10.105 #24922 SMP Fri May 10 03:00:14 CST 2019 x86_64 GNU/Linux synology_avoton_415+

- Linux MMO-VM 4.4.0-18362-Microsoft #1-Microsoft Mon Mar 18 12:02:00 PST 2019 x86_64 x86_64 x86_64 GNU/Linux

Beceriler: Linux, Kabuk Betiği, UNIX, Ubuntu, Bash Scripting

Müşteri Hakkında:
( 3 değerlendirme ) Sainte-Marthe-sur-le-lac, Canada

Proje NO: #20197214

Bu iş için 30 freelancer ortalamada $111 teklif veriyor

gangabass

I can provide you a Perl script that will rename your paths and files using your regular expression.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(66 Değerlendirme)
5.9
goodwork20k

I am good in shell script, please let me know if you are good to award this project to me Also please share your existing details with me

$168 CAD in 2 gün içinde
(37 Değerlendirme)
5.3
debianguy

Hi. I did a test using a little bash script over a file with 20 lines using aleatory text like: ABC - Financing/|2018 - ABC* Capital Innovation Fund 2018? (GGGG)/0 - Dataroom/8 - Vérification diligente/3. Governance Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(67 Değerlendirme)
5.3
AhmadSameer

Hey there, I'm a System Engineer with coding skills. I have been working with Linux/Unix-systems for years. I had developed tons of Bash scripts. I can help. Regards.

$250 CAD in 5 gün içinde
(39 Değerlendirme)
5.3
monsune

Hello. Lots of sysadmin experience here which also includes tons of scripting. I can deliver yet today. Will obviously test it inside-out first. Just let me know when you need me and I will be on it. Thank you.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(55 Değerlendirme)
5.0
urstealth

Hi, This can be done effectively and efficiently in python. Let's discuss more.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(39 Değerlendirme)
4.9
naryl

Hello. I use Linux at home since about 8 years ago so a simple script like this should be no problem. Send me a bigger sample of input data and I'll get it done in less than a few hours.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(11 Değerlendirme)
3.8
ichthyocentaurs

Hello! Your task can be easily accomplished with the sed. Almost any Linux system will have the sed utility. The following is example of how it can be done with GNU sed: $ echo '/ (file)path / ' | sed 's|/[\t\v\ ]\+ Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(5 Değerlendirme)
3.7
mspratt249

i can write you a bash/shell scrip to remove those special charichtars. I can write it in bash or in c, this is a very common program to remove these special charachters. am familiar with ascii character codes c prog Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(6 Değerlendirme)
3.2
smartweb4

Here is the command you need: echo "$path" | sed 's/[\\|":;<>*?\(\)]//g' | sed 's#\/[[:space:]]\+#/#g' Tested with this line: ./ | \\ \" * ? \ : ; <>?ABC - Financing/2018 - ABC Capital Innovation Fund 2018 (GGGG)/0 - Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(3 Değerlendirme)
3.0
rdmrla

Hello. My name is Ravi Damarla and I'm a senior developer. I have more than 10 years of experience of working with and administering Linux and its variants. I'm also well versed with Bash scripting, Perl and Python. Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(7 Değerlendirme)
2.8
Guptapuru304

Sir/Ma'am, I have done a lot of regex works and created a lot of scripts for the same. I can deliver the required bash scripts in the cost effective and best possible manner. Contact me to discuss more about the projec Daha Fazla

$99 CAD in 2 gün içinde
(2 Değerlendirme)
1.7
mukes72

Hi i can write simple shell script in budget.

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(2 Değerlendirme)
2.5
DanielLevine

About me: Former Linux sysadmin with ~2 years industry experience, including DevOps and SRE roles, office network administration, and workstation tech support, plus experience working on personal and open source projec Daha Fazla

$150 CAD in 3 gün içinde
(1 Yorum)
1.0
trustworthyDev

I am here, who you are looking for a motivated and talented developer. please contact me so that we can have a discussion in detail. Best Wishes. Vu.

$250 CAD in 7 gün içinde
(0 Değerlendirme)
0.0
eltonavieira

Hello We have been a programmer for more than 8 years in the market and have already developed projects for several companies. Using the general description of your project is possible to make a generic estimate, but Daha Fazla

$200 CAD in 4 gün içinde
(0 Değerlendirme)
0.0
egefeyzioglu

Hello, sysadmin with 5 years of experience here. I will create for you the script you asked for. It should take no longer than a couple of hours, I am setting the bid to one day since that is the minimum. Please contac Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(0 Değerlendirme)
0.0
SydneyGuy1

Hi, I have done many similar work before, and I am experienced and knowledgeable to be able to write code for it. I assure of high quality work on time

$170 CAD in 3 gün içinde
(0 Değerlendirme)
0.0
theukwebexpert

Hello there! My name is Chris, I'm a UK based and native English speaking web developer and app expert with 10 years experience building and maintaining complex web apps and websites. I've built and maintained applica Daha Fazla

1 gün içinde %bids___i_sum_sub_32%%project_currencyDetails_sign_sub_33% CAD
(0 Değerlendirme)
0.0
sukhbirk

I have 9 years of experience in software technology field. I have experience working on shell scripting too.

$230 CAD in 7 gün içinde
(0 Değerlendirme)
0.0