5,832 questions
5
votes
2
answers
89
views
unable to remove leftover "()" string with get-childItem in windows powershell
I restored a large number of files in diverse folders from a hard drive, and they all included a string.
I removed this string in windows powershell using
get-childItem -recurse | Where {$_.name -like ...
0
votes
0
answers
53
views
How to rename and keep the window name fixed without updating when refreshing webpage? (Like Name window function in Chrome and Edge Browser)
My current code opens the desired URL and rename the window to the string I prefer, but just update the page that is open to the browser and with that my personalized name is lost and the web page ...
0
votes
0
answers
20
views
Renaming Duplicate Names of person / company without removing from the list
We work on database where in column B has many customer names. but many of customers names are repeating (Duplicate names) with no. of bookins may or may not have different values. I DO NOT want to ...
0
votes
0
answers
35
views
Laveral Twill "Edit" Button Rename to the "View"
I am using the "Laravel Twill" as a Backend, And we are struggling to rename the provided name. As example once the user is submitted form it goes to the backend.Then from the CMS Side I ...
0
votes
0
answers
58
views
Issue with renaming/selecting columns in pyspark
I have an excel file that I'm reading into databricks using pyspark. The data has extra columns at the end that I do not want included. I use the following code to accomplish this:
data_object = ...
0
votes
3
answers
124
views
Changing the name of an access database
I did this successfully a long time ago, but I can't remember how. I have recently saved an old Access mdb file under a new name, because it had all the references I needed for the VBA code I write. ...
0
votes
2
answers
74
views
Dropping different values from multiple columns
I have a Pandas dataframe with 28 columns in total. Each one has a unique number after a name. I want to drop all the numbers from the columns but keep the name. How can I do that best?
Here is an ...
1
vote
1
answer
68
views
.bat to rename all files in a folder using existing chars but reversed
I want a windows bat file that renames all files in a folder, reversing a date stamp in the existing name.
For example, files are named as follows:
AccountStatement_10062023.pdf
...
0
votes
1
answer
67
views
Download not renaming using local path
I have the following element:
<a href="/temp/8072ba11-999d-484c-b074-f9f2ce249056.xlsx" download="MyFile.xlsx"> </a>
Initiating a click event on the element causes a ...
-1
votes
5
answers
66
views
How to delete an element from a folder name
Let's say I have a folder that contains a lot of subfolders. These subfolders all have [Extra] at the end of their name.
Is there a simple way to delete all those [Extra] in one go?
I tried to adapt a ...
2
votes
1
answer
77
views
How to switch cell content to column header crosswise while renaming them with prefix in R?
Despite searching many sources, I can't find a solution for my problem.
My dataframe has more than 1000 rows and 800 columns, knowing that starting from the 5th column (dat0$V4), there are always the ...
2
votes
3
answers
143
views
Issues using gsub to rename multiple columns
I have a dataset from a Qualtrics survey that has a form-field formatted question that split the responses into multiple columns, all identically named with the question text except for the form field ...
0
votes
1
answer
55
views
.Bat file to remove all text from filenames after a certain three letter code
In my work we frequently run into a situation where we have folders of hundreds of outputted PDFs. These all have the same naming scheme which is:
[Number/Text String]-XYZ [More Text]
They all have a ...
2
votes
0
answers
443
views
Rename-Computer not working after upgrading to Windows 11
I use a short, simple script when I occasionally have to change a PC name. It worked without any flaws for the last year while using Windows 10. Recently upgraded to Windows 11 and have had trouble ...
0
votes
1
answer
48
views
Renaming multiple columns that contain regular expressions in R [duplicate]
I have a data frame with the following column headers:
"x_y_z, a_b_c, a_b_d, a_b_e, a_b_f" etc.
I want to remove the "a_b_" part from the column names that starts with "a_b_&...
1
vote
3
answers
120
views
How to copy all files with specific extension and rename them adding the subdirectory names
I have a folder Bash with two subdirectories Origin and Destination.
Origin has subdirectories 1, 2, 3, 4.
Each of them has its own subdirectories. For example, 1 has subdirectories 11, 12, 13 ,etc. 2 ...
0
votes
1
answer
42
views
Make a copy of google sheet, rename new google sheet and save to a specific folder
I am very new to app script and I have found a few codes that either make a copy, rename or save in the correct location but I have not found one that does all three. Here is the code I found that ...
0
votes
1
answer
83
views
Shortening nested folder names
We are utilizing an online file repository (similar to SharePoint but not Microsoft). The problem is it allows the creating of long paths. We are downloading the nested folders as a zip file, and then ...
1
vote
0
answers
91
views
'Error: unexpected symbol' when using rename function
I'm working on the capstone project for my Google Data Analytics certificate and I'm trying to rename the columns on 1 of my data sets to match the others in order to merge them, but I keep getting 2 ...
0
votes
2
answers
72
views
Moving values in pandas df to new column within df, rename column based on str in column
I have a pandas df of data stripped from a pdf. I have already done some considerable wrangling to get it to this point. There are about 100 chemical concentrations at about 10 sites, and in separate ...
2
votes
1
answer
167
views
Rename and sort pictures and videos from Google Takeout
I'm trying to automatically rename and sort pictures and videos from a Google Photos export (Google Takeout) using a bash script. Structure of the Google Photos directory after download:
.
├── Google ...
0
votes
1
answer
66
views
Rename a file based on value present in the name value in the content
I have a XML file as below and the file name is "data.xml"
<ns0:LovData xmlns:ns0="http://teamcenter.com/Schemas/Soa/2011-06/MetaModel">
<ns0:lovs name="infolist"...
1
vote
3
answers
125
views
`type <nameOfType> = Typeclass` compiles, but `type <nameOfType> = (Typeclass, Typeclass)` doesn't
I've been reading about the renaming of pre-existing types using the haskell's type and, as much as I could understand, the type is only used for renaming concrete types, like Int, Integer, Char, ...
0
votes
1
answer
141
views
How to replace a word in whole workspace? I am using Spring Tool Suite IDE
I am working on a project and suddenly I realize I mis-spelled the word "category" to "catagory" on almost every place- within my workspace.
It there any way to replace all ...
-1
votes
3
answers
180
views
delete the characters of a filename from a specific position
i have 100 files in a folder with filenames as below
Example1: GCA_000696115.1_SoWt_assembly_genomic.fna
(0 to 15 characters are GCA_000696115.1)
Question1: remove characters after 15th ...