rename
How to rename a table in SQLite 3.0?
ALTER TABLE `foo` RENAME TO `bar` SQLite Query Language: ALTER TABLE
Linux zip command: add a file with different name [closed]
You can use zipnote which should come with the zip package. First build the zip archive with the myfile.txt file: zip archive.zip myfile.txt Then rename myfile.txt inside the zip archive with: printf “@ myfile.txt\n@=myfile2.txt\n” | zipnote -w archive.zip (Thanks to Jens for suggesting printf instead of echo -e.) A short explanation of “@ myfile.txt\n@=myfile2.txt\n”: From …
Refactor rename broken in Intellij IDEA
There is no way to turn refactoring off in the settings. My guess is that the project’s cache/indexes are corrupted. I had a case once where refactoring, especially renames, stopped working. A re-index solved it for me. Go to File >Invalidate Caches, invalidate your caches, restart IDEA, and let IDEA re-index the project (progress is …
Git: rename directory (case-only) on Windows
You can try to do it in 2 step. $ git mv docs DOCS2 $ git mv DOCS2 DOCS it will work
git rename many files and folders
This should do the trick: for file in $(git ls-files | grep %filenamematch% | sed -e ‘s/\(%filenamematch%[^/]*\).*/\1/’ | uniq); do git mv $file $(echo $file | sed -e ‘s/%filenamematch%/%replacement%/’); done To follow what this is doing, you’ll need to understand piping with “|” and command substitution with “$(…)”. These powerful shell constructs allow us to …
Renaming a File() object in JavaScript
Now that file.name is a read-only property, I’ve found this to be the best method to rename a File object in the browser: const myNewFile = new File([myFile], ‘new_name.png’, {type: myFile.type});