Category "rename"

Powershell script to rename Files adding Last Modified date to name, script won't run in sub directories

I have an old server archived and would like to rename all the files by adding the last modified date to the file name. There are many layers of folders in the

replace the header line of several sequences in a fasta file and replace them with the species names stored in a list (.txt)

I have a fasta file with several sequences, but the first line of all the sequences start with the same string (ABI) and I want to change and replace it with th

batch rename matching files using 1st field to replace and 2nd as search criteria

I have a very large selection of files eg. foo_de.vtt, foo_en.vtt, foo_es.vtt, foo_fr.vtt, foo_pt.vtt, baa_de.vtt, baa_en.vtt, baa_es.vtt, baa_fr.vtt, baa_pt.vt

Error when renaming columns with plyr in a loop in R

I found similar error but it seems the problem is not the same. for (i in colnames(t[,4:ncol(t)])) { for (j in poids_teff$station) { if (i == j) { t

Rename Word mailmerge fields in VBA

I want to rename mergefields in a Word document. I use the following script (based on Change value of Word MailMerge field using VBA). I run the script and I se

WinError2 when renaming a file

This code extracts pictures from a .xlsx file, copy them three times and renames them. It all works fine when I extract them to the same directory where the fil

How to replace double spaces with one space in filenames (also subdirectories) (CloudLinux Server release 6.10)

I want to replace double spaces with one space in the filenames of a lot of photos. These photos are located in directory /foto and it's subfolders. How to do t

Haystack specify column for Prediction

I am using an OpenSearchDocumentStore to store my data an feed it to my Haystack pipeline, the data includes uuids and other information, that are not relevant

rename files with changing pattern

i want to rename different files in bash with pattern and found this option: rename 's/.2007/(2007)/g' *.* with this pattern I can rename every file with "

rename files that match strings in a txt file

I am trying to rename multiple files according to the match to a .txt file my files are GCF_000698265.1_ASM69826v1_genomic.gff.gz GCF_000785125.1_ASM78512v1_gen

Error (Error: EPERM: operation not permitted, rename 'path')

I receive the following error when trying to rename a folder in VS Code on Windows. When I try to rename a folder, I get the following error that pops up in the

Renaming several keys in an array/object with Lodash

How can I get from x to y with Lodash? var x = [ {id: 22, location: 'Vienna'}, {id: 13, location: 'London'}, {id: 21, location: 'Paris'} ]; var y

Rename a file with github api?

I thought that the update file method of the Github API could be used to rename a file (by providing the new path as parameter) but it does not seem to work. T

Can't refactor rename in Eclipse

If I do a refactor rename on something, it tries to do it for a moment but then just reverts it right back to what it was named before. No errors or any indica

Why might git log not show history for a moved file, and what can I do about it?

I've renamed a couple of files using git mv, used git stash, had a quick look at HEAD (without changing it) then did git stash pop to get the whole lot back aga