Questions tagged [filenames]

Filenames are metadata about a file; a string used to uniquely identify a file stored on the file system of a computer.

The filename is metadata about a file; a special kind of string used to uniquely identify a file stored on the file system of a computer. Some operating systems also identify directories in the same way. Different operating systems impose different restrictions on length and allowed characters on filenames.

4148 questions
1
vote
1 answer

Drupal 7: naming node with Theme Developer

I'm working on a Drupal 7 website. I need a custom node for a page, and I used Theme Developer module to find the candidate name for the node which I attached screenshot below. But it doesn't take action when I name as node__28.tpl.php What am I…
designer-trying-coding
  • 5,994
  • 17
  • 70
  • 99
1
vote
2 answers

VBA: I need to save files but if it is repeated, do the sequence "_1, _2, _3, ..." at the end of the file name

My code copy the open workbook and then renames the copied one with the month of analysis, but I need to save all the analysis of the month doing a sequence at the end of the file name. I tried some simple loops and it doesn't work. Sub…
1
vote
1 answer

Excel VBA - Loop through folder and add certain parts of names to cells in workbook

I'm trying to perform a simple exercise - (1) merge several tabs (each from separate file) into single file ("macro-file"), (2) rename all tabs in accordance with certain cells in these tabs. Each tab is effectively a bank statement (in different…
Ivan B
  • 13
  • 5
1
vote
1 answer

How can I make new directories using file names and move associated files into that new directory?

First post and excited to be a part of this community. I am a beginner and mainly use the command line for next-generation sequencing (NGS) analysis. I have a list of files that contain data from a sequencer as follows: [agh8423@quser12 all_fastq]$…
1
vote
0 answers

Unity special scripts name

This is something interesting I have noticed recently and couldn't find it anywhere in Unity documentations. There are specific names that if I assign them to a script, it gets a different icon from the usual script icon (tested it on c# scripts…
SagiZiv
  • 932
  • 1
  • 16
  • 38
1
vote
1 answer

Regex - Filter for atypical filetypes

I have a folder filled with plain text files with filenames formatted as…
maja
  • 697
  • 5
  • 18
1
vote
1 answer

How do I read specific characters of filename in Python 2.7

Lets say I have a bunch of folders/files with a name like abc_06082018 where the numbers are the date it was created but they are different for each folder, however the abc_ stays the same for every name. How do I only read after the abc_ and…
Michaelr
  • 13
  • 4
1
vote
1 answer

Javascript : Throw error when Chinese characters are in the file name

Hi I would like to throw an error when I see Chinese characters in a file name using Javascript. My code throws an "Expected Hexadecimal Digit" error. So far I have the following code:…
1
vote
2 answers

PHP Curl Proxy, how to define $_FILES['foo']['name']

I'm using CURL to make a PHP Proxy that forward a multipart form. The form have an input type="file". The proxy receive the following data: array 'foo' => array 'name' => string 'wt.jpg' (length=6) 'type' => string 'image/jpeg'…
FMaz008
  • 11,161
  • 19
  • 68
  • 100
1
vote
1 answer

Naming the columns of a merged file equal to the folder name the source file comes from

I have written a script in R that combines my text files having one column of data to a .csv file where all the columns are listed besides each other. Unfortunately, my analysis Software always lables the text file in the same way so that all the…
Hotshot
  • 143
  • 1
  • 14
1
vote
1 answer

Saving a file with a Cyrillic name

How to correctly save a file with a Cyrillic name? Now the file name looks like this: "Максим Р—РёРЅСЏРєРѕРІ feat. Indigo - You And Me Only". The correct name is "Максим Зиняков feat. Indigo - You And Me Only". I get the file from HTTP…
akrisanov
  • 3,212
  • 6
  • 33
  • 56
1
vote
1 answer

Get Filename of spark data frame write

I'm using the below code to write the spark dataframe into s3 bucket. spark_df. \ coalesce(1). \ write. \ option("header", "true"). \ mode("overwrite"). \ csv(bucket_name + "/" + bucket_path + "/csv") Here I want to get the name of the file which…
data_addict
  • 816
  • 3
  • 15
  • 32
1
vote
1 answer

How are filenames generated in NiFi?

I'd like to know how filenames are generated in NiFi. The concern behind this is whether there is a chance that two flowfiles will have the same name? For example, what if we have a NiFi Cluster in which a processor fetching data is running with…
azimos
  • 55
  • 4
1
vote
3 answers

Bash: delete most files in directory

I have a directory full of mostly postscript files which I'm trying to erase most: Namely those who don't have 000100, 000110, 000120 or 000200 on the second place in their name. I want to retain those. Here is an excerpt from the…
Chris
  • 371
  • 1
  • 2
  • 8
1
vote
0 answers

Using a list in R to create a dataframe name

I have a list created like this: x <- c("a", "b", "c"), where a,b,c are characters and a value. I would like to create data.frames (with other operations or commands) that will be named based off of the list x. This will be a loop with lots of…
MGru
  • 35
  • 2
  • 7