En cours

Small PowerShell Script for changing Text-Files

We need a power shell script with these functions:

- search full directory tree for ".pts" files

- read / edit .pts file:

make following changes in the corresponding lines of the ".pts" files and add "_p2880" to the new file name:

replace "-fileversion ??" with "-fileversion 37"

#-outputfile: add"_p2880" to the existing output file name

#-qtvrparameters: add " 1 " to the end of the line (space 1 space)

replace '#-hdroutputhdrblended' with '#-hdroutputtonemapped'

after "#-useexif0" add the line "#-batchbuilder_useexif 0"

after "#-blender ptgui" add the line "#-blenderfeather 0"

change the setting in the line "#-interpolator" to "default"

after "#-optimizeraskreinitialize 1" add:

"#-applytemplate_lens 1

#-applytemplate_imageparams 1

#-applytemplate_crop 1

#-applytemplate_mask 1

#-applytemplate_panoramasettings 1

#-applytemplate_projectsettings 1

#-applytemplate_optimizer 1"

change settings of "# Panorama settings:"

if w9999 or smaller add "_S" to the output file name

if w10000 or larger: add '_L" to the output file name

and change to "w2880 h1440" with the rest of the line unchanged

#-outputfile: if last sign is "." remove last sign
add "_p2880" to the output file name
replace Drive-Letter with "H"
replace first folder with "fertig_bearbeitet - p2880"

Compétences : Script Shell

Voir plus : powershell changing text, qtvrparameters, shell script or, shell script, panorama, blender, shell add file, search replace script, script tree, powershell script name, script replace, replace files, replace text file powershell, small text changes, edit text file, small search replace, full text search, unchanged, powershell script, power line , script power, script panorama, read text text files, read line text file, panorama settings

Concernant l'employeur :
( 2 commentaires ) Fernwald, Germany

N° du projet : #2365997

Décerné à :


Hi there. This is a very straightforward project. I can have it completed for you in a few hours. Thanks!

50 $ USD en 0 jours
(3 Commentaires)

3 freelance ont fait une offre moyenne de 73 $ pour ce travail


I have experience in scripting, I can do this job.

120 $ USD en 2 jours
(1 Commentaire)

Hello I have worked on shell scripts of similar requirements and will be able to complete the task.

50 $ USD en 3 jours
(0 Commentaires)