Questions tagged [renaming]

342 questions
-1
votes
1 answer

Command Line: manipulating file names; grep?

I currently have a directory of files with date based names in the format mmddyy: nxd060815a.html nxd060915a.html nxd061015a.html and would like to change file name format to yyyy-mm-dd: nxd2015-06-08a.html …
verbatim
  • 219
  • 2
  • 7
-1
votes
4 answers

creating a new folder using PHP with custom name

i have used this code to create new folder how can i create new folder with a name form client input and i get error in line six Warning: mkdir() [function.mkdir]: File exists in /home/a3629462/public_html/123.php on line 6 that's the error am…
user3700339
-1
votes
1 answer

How to rename multiple video files

I have multiple videos, and they all have different titles to them. For example one is called The_Speaker's_Wrath_1982_, another is called Forest_Spirit_1977_ and they all have different titles but look like that..with the underscore's. I was…
milktruck
  • 1
  • 1
-1
votes
1 answer

Java file upload & rename with php

I'm trying to upload & rename a file from a java program. My java upload method: public void bestandUploaden(String oudeUrl, String nieuweNaam) throws ParseException, IOException { System.out.println("oude url: " +…
Joachim
  • 173
  • 1
  • 8
-2
votes
5 answers

Create an enum similar to the "Name" property of a class

Our team has been slowly refactoring code to implement SOLID practices and enforce better naming conventions. We have run into a problem where we have an enum that is currently named the same thing as another class we need to create --…
Jeremy
  • 169
  • 1
  • 2
  • 10
-2
votes
2 answers

How to replace spaces with dashes of folder names (in bulk)

How to replace spaces with dashes of several thousand folders in bulk in Windows server 2008?. Currently: My folder All folders need to become: My-folder Thanks
Tarek Ezzat
  • 535
  • 1
  • 5
  • 8
-3
votes
3 answers

python scripts for copying and renaming

I am brand new python user and looking for help. Need python scripts which does copy and version up (rename) the existed file. I tried to create scripts for version up, but it just adds 001 + 1 = 2 instead of v002. Also i am looking for first split…
Khenrab
  • 1
  • 4
-3
votes
2 answers

Renaming filenames in python without changing the actual number order?

I have files like: 00001.jpg 00002.jpg . . . 01907.jpg I want to add some files to this directory which are named the same. But their names should continue like 01908.jpg 01909.jpg . . 12906.jpg I couldn't manage to do that. How can i make this…
-3
votes
1 answer

Copying The Name Of One File To Another In Bash With Wild Cards

How can I copy the name of *.mkv to poster.jpg in bash using wild cards. Thanks
Dvae
  • 1
  • 1
-3
votes
1 answer

I need to remove the date

I need to enter regex into a field which ONLY identifies a varying date. All files use the same format of: name.y%.m%.d%.blahblahblah This is an example of what the filename would look like: LordOfTheRings.14.6.28.The.Twin.Towers
-3
votes
1 answer

How to rename files or folders in android?

I was trying to brainstorm on codes how to rename a file in android and I've searched on the net but i didn't see anything. My goal is that when the user press the rename button a dialog box will appear then the user will input the name that user…
p0p0ts
  • 5
  • 2
  • 6
-4
votes
3 answers

rename a set of directories and the files in each of those directories

The problem for which the perl code is to be developed is as follow: There is a root directory that contains several directory in it. Each subdirectory has in turn a text file in it. We need to go into each directory of the root directory and first…
1 2 3
22
23