rename Questions

2

Solved

I want to add a suffix to a group of columns in a data set (CTDB). For example I have the following columns and I would like to add "_Child" to the end. This subset is part of a larger dataset wi...
Mattie asked 1/2, 2018 at 15:57

4

Solved

I've code which, when I press a button, will add a new sheet to a workbook and change the codename of the sheet to make it easier to refer to later in my code. Dim wbk As Workbook Dim wks As Works...
Putscher asked 7/12, 2016 at 16:17

5

Solved

I want to modify a column name to new name present in a table but here problem i want to manually modify the column name present in Triggers or SP's. Is there a any better way of doing it. To re...
Mansur asked 2/3, 2015 at 12:43

5

Solved

I have a table with 50+ columns and I need to swap the order of the first two columns. What is the best way to accomplish this using Oracle? Assume the table name is ORDERDETAILS and as it is, the ...
Renegado asked 8/2, 2011 at 23:32

6

I cant figure out how to update/rename a file uploaded/managed with Carrierwave-mongoid in rails 3.2.6. I want to rename the file in the db as well as on the filesystem. Something like this maybe....
Cata asked 18/10, 2012 at 21:44

1

Solved

For example, in the mtcars dataset, how do I rename the row Merc 280 and call it Some Mercedes? All other posts seem to answer how to replace all row names at once.
Hydrocarbon asked 20/8, 2019 at 0:49

7

Solved

The SQL query that I have used is : ALTER TABLE oldtable RENAME TO newtable; But, it gives me an error. Server: Msg 156, Level 15, State 1, Line 1 Incorrect syntax near the keyword 'TO'.
Comma asked 17/3, 2011 at 6:10

4

My directory structure is as follows Directory1\file1.jpg \file2.jpg \file3.jpg Directory2\anotherfile1.jpg \anotherfile2.jpg \anotherfile3.jpg Directory3\yetanotherfile1.jpg \yetanotherfil...
Anabiosis asked 24/1, 2013 at 20:7

4

Solved

I'd like to take a directory and for all email (*.msg) files, remove the 'RE ' at the beginning. I have the following code but the rename fails. opendir(DIR, 'emails') or die "Cannot open director...
Theophilus asked 9/12, 2011 at 19:40

3

Solved

I currently have a line to batch rename files in a folder that I am currently in. dir | foreach { move-item -literal $_ $_.name.replace(".mkv.mp4",".mp4") } This code works perfectly for whateve...
Screwed asked 6/2, 2014 at 18:55

2

Solved

const a = { b: { c: 'Hi!' } }; const { b: { c } } = a; Is it possible rename b in this case? I want get c and also rename b.
Farris asked 16/7, 2019 at 20:59

1

Solved

I have a bash script that uses the rename command as follows: sudo rename 's/^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})(\d{2})/Date-$1-$2-$3__Time-$4:$5:$6/' 2019* According to the rename man page the c...
Fiann asked 11/7, 2019 at 3:29

2

Solved

My data looks like this: #> Artist Album Year #> 1 Beatles Sgt. Pepper's 1967 #> 2 Rolling Stones Sticky Fingers 1971 And my question should be quite simple. I'm trying to use ren...
Tumpline asked 21/6, 2019 at 2:30

4

Solved

How do you rename a branch in Gitkraken? I know how to do it from the CLI, can you do it from the GUI (or terminal - if there is some - in Gitkraken?) Thanks!
Lymphangial asked 24/11, 2016 at 10:57

4

Solved

I know I can *re*name columns after I aggregate the data: blubb <- aggregate(dat$two ~ dat$one, ...) colnames(blubb) <- c("One", "Two") Nothing wrong with that. But is there a way to aggre...
Auspex asked 9/3, 2013 at 9:31

3

Solved

I've just started using git in Vista, with my repository under /path/to/project/git repo. I've now found that the space in the folder name is a minor irritation when working in git bash. Can I ju...
Gifferd asked 26/8, 2011 at 3:15

2

I have a field in elasticsearch (5.5.1) which I need to rename because the name contains a '.' and it is causing various problems. The field I want to rename is nested inside another field. I am t...
Overtake asked 1/11, 2017 at 16:32

1

Solved

I am trying to figure out if it is possible to rename a column header if some condition is met. I have a pandas dataframe: import pandas as pd data = [[1,'Joe', '2018', 5,7,9]] df = pd.DataFram...
Getaway asked 16/4, 2019 at 19:43

1

In Android Q the MediaStore.Files.FileColumns.DATA field has been deprecated, and may be null or apps may not have the rights to read it, therefore is there a way to rename the filename section (no...
Husein asked 23/3, 2019 at 14:0

6

Solved

I would like to rename my images from .png to @2x.png. Is there some easy way to do this with the terminal?
Sesquialtera asked 15/11, 2013 at 9:2

8

Solved

I have many files with .txt extension. How to remove .txt extension for multiple files in linux? I found that rename .old .new *.old substitutes .old extension to the .new Also I want to do th...
Wallow asked 22/12, 2010 at 13:8

4

Solved

I have a few thousand files named as follows: Cyprinus_carpio_600_nanopore_trim_reads.fasta Cyprinus_carpio_700_nanopore_trim_reads.fasta Cyprinus_carpio_800_nanopore_trim_reads.fasta Cyprinus_...
Gustave asked 4/10, 2018 at 7:0

2

Solved

Create a zip adding file "hello/world.xml" under directory "foo/bar" as "hello/universe.xml" task myZip(type: Zip) { from ("foo/bar") { include "hello/world.xml" filesMatching("hello/*") { it....
Lampley asked 9/7, 2017 at 14:0

4

Solved

I have done Refactor -> Rename in Eclipse and the project has been renamed successfully in Eclipse. But when I copy/paste it in a folder, it still keeps the old name. How can I completely rename i...
Ceasar asked 8/4, 2014 at 11:40

2

I'm trying to rename a bunch of files which contain spaces in them, getting rid of the spaces. I thought I found the correct bash command: for f in *.txt; do mv \"$f\" ${f/ /}; done However, thi...
Breakneck asked 23/10, 2014 at 0:19

© 2022 - 2024 — McMap. All rights reserved.