Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [filenames]

A filename (also written as two words, file name) is a name used to uniquely identify a computer file stored in a file system. Filenames are a human-friendly label for the references or pointers that operating systems use to identify files within a file system.

0
votes
1answer
42 views

Long names get truncated in DVDs

I've burned a lot of files with big names on a DVD and most of them got truncated. I suppose it's because of the file system used on DVDs. But those names now end in weird capital-letter with numbers ...
-1
votes
0answers
19 views

How can I find where Chrome saves renamed documents, and under what name?

When using Google Chrome to save a pdf file that has been opened in its own tab, using the right-click "save as" mechanism, if I edit the name of the document in any way, either from some document ...
0
votes
1answer
40 views

Case-sensitive file names in Windows' Linux subsystem

I'm running Windows 10 and I frequently use the Linux subsystem on Windows. If I use the Linux system to create a folder, the file names in that folder will be case sensitive. This will sometimes ...
1
vote
1answer
9 views

How to set Everything search to ignore punctuation in filenames?

In the past Everything ignored punctuation in filenames and I always admired the program for that — a search king kong would also display folders or files king.kong.1933, king-kong-1976 and ...
16
votes
4answers
3k views

Which characters are invalid for an MS-DOS filename?

I'm writing a filename I/O procedure in x86-16 assembly language. It takes eight characters (I don't need to support long filenames) from the keyboard and prints them to an on-screen text input field. ...
1
vote
1answer
76 views

Batch file that copies file and rename to IP address in the name

I'm not too familiar with batch files. Most commonly I use VBA/PHP, but I would like to have this one a go :). I would like to: Fetch the user's IP address, Copy a file, and rename that file to ...
0
votes
1answer
66 views

Can't delete folder in Windows 10 with special character

I have a similar problem as in Can't delete folder (in Windows 10) that contains special character in that I get the exact same error message when trying to delete a specific folder. From Can'...
6
votes
1answer
1k views

Get filename without extension in Bash

I have the following for loop to individually sort all text files inside of a folder (i.e. producing a sorted output file for each). for file in *.txt; do printf 'Processing %s\n' "$file" ...
1
vote
1answer
31 views

Paths and names of Deleted files

Accidentally deleted my whole second hard drive with files on it. It was full of games and videos I just don't know which ones. What I want to know is can I find out what files I deleted? Are the file ...
0
votes
1answer
19 views

Zipping files according to filenames

Daily we receive five files like this: vi_250000364846.dqa_report.xlsx vi_250000364846.3553_report vi_250000364846.MSR_report vi_250000364857.3553_report vi_250000364857.dqa_report.xlsx The numbers ...
0
votes
1answer
448 views

How to show special characters in filename in Windows

How can I inspect the characters of a file name in Windows 10 ? I have some files which contains some 'space' characters, and other who contain some 'non-breaking-space' characters. And maybe some ...
0
votes
1answer
42 views

Add .pcap ending to all files created with tcpdump

I'm using tcpdump for a rotating network traffic capture, and Moloch as a nice viewer for the data. The problem is that tcpdump appends a number to the end of the filename, while Moloch only uses ...
0
votes
0answers
147 views

Linux: remove file with Questionmark AND parentheses in the filename

How can i rename a file that looks like this: Some shitty words with spaces and sp?ecial (characters).ext I tried enclosing in single quotes, i tried enclosing in double quotes. I tried moving mv ...
1
vote
1answer
55 views

Windows 10 wierd hiddin filenames

Anyone knows why this bugs occur? It's across the whole system, not just Handbrake
1
vote
0answers
38 views

Renaming set of files in multiple folders in Windows command line [duplicate]

I have a 320 folders each having a set of two files: FilenameA.wav FilenameB.txt. In each folder, I want to rename the .wav file based on the name of the .txt file in the same folder: FilenameA....
0
votes
1answer
1k views

How could I change file creation/modification date from filename? [closed]

I have a bunch of pictures that each have its creation date in the filename with this format: IMG-YYYYMMDD-WAXXXX.jpg but when moved from smartphone internal memory to sd card, all the pictures got ...
2
votes
1answer
176 views

Find NFD-encoded filenames

I have rsync'd a directory from a Mac to a linux box containing files and folders with special characters (umlauts). Unfortunately, the Mac uses NFD encoding (thanks, Apple!) which rsync didn't ...
1
vote
1answer
61 views

How to delete filenames with similar partial name?

I have a bunch of filenames that are timestamped (down to the nanoseconds) and I only want to keep one file per second. For example, here are some file names: 11-14-29-033.jpg (which means that the ...
-1
votes
3answers
50 views

Sorting a file list in WIndows

Got a list of color photos from Hatton1.jpg to Hatton72.jpg each photo has an identical black and white one named Hatton1-2.jpg through Hatton72-2.jpg Is there a way to strip out the -2 files to a ...
0
votes
1answer
27 views

Is there log of filenames skipped when copying files in ubuntu and having clicked “Skip All” for errors?

I've recently copied, via ctrl+c and ctrl+v, about 200GB of files from an external drive to my new Ubuntu machine. Because these files were from an old Windows machine, many of them triggered errors ...
2
votes
3answers
117 views

Find and sort numerical filenames

I am trying to find files that match time=* and then need to display it by sorting it numerically. The result file names would be : first/path/time=001.jpg first/path/time=002.jpg second/path/time=...
2
votes
2answers
437 views

Shortname for My Documents in Windows 7

I have a program that needs to access a c++ compiler that I have installed in the My Documents folder - say d:\My Documents The program can't handle a space in the path and the path is already in ...
1
vote
1answer
355 views

Colon character “:” in some file names under Windows 7 [duplicate]

I've been revisiting my old hard drive where I backed up my files long ago. I used Ubuntu back then and had no troubles creating files with a ':' (colon) character in their names. Now, however, I ...
1
vote
2answers
501 views

Pipe grep to less showing the grep command as file name

less -M will show the file name as a prompt, as in: 1 asdf test.txt lines 1-1/1 (END) I like to pipe grep into less for easier reading. Can I get less to interpret the grep command as file ...
1
vote
1answer
34 views

How do I batch copy existing file names and use them as new folder names?

I have folders with several files. What I want to do is to use the filenames of those files as the names of folders that woud be created within the same directory: How can I get the string data_1a ...
0
votes
0answers
53 views

Renaming files automatically

Is there any way on Windows Server 2016 for files to be renamed automatically? This is the scenario, I have a local server, which is shared locally with some computers. All I want to do is add some ...
2
votes
0answers
52 views

Surface Pro 4 screenshot filename different than it used to be. How do I change it back?

I have the screenshots on my surface that are in my OneDrive Pictures folder. They are formatted like 2017-06-27.png. The first one is 2016-01-10 but the last one I have is from August (2017-08-07). ...
6
votes
1answer
257 views

Windows Explorer – why at-character @ sometimes is not allowed in filenames?

I knew many restricted and special characters in file and folder names that impossible to use, or they can cause trouble later. For example putting a dot at the end of the name will cause it to ...
0
votes
0answers
69 views

Use paths with accented characters in .command file on Mac

I have a .command file on Mac where I need to run a command which contains two file paths, and both file paths contain a Swedish accented character (ä). Here is the command I need to run: hdiutil ...
0
votes
0answers
22 views

how to open files that its name contan colon(:) and dot(.) in windows? [duplicate]

I have a number of files and folder that its name contains colons(:) and dots(.), i can open them in linux (centos 7) but I can not open them in windows 7. when I try to open the following error shows:...
1
vote
1answer
82 views

How to find a file with the “/” in the filename?

I've created a RAR, but by a mistake its filename consisted of "/". The command looks like this: rar m -m0 Promo-CD-R/ Promo-CD-R/ The RAR archiver output first line was: Creating archive Promo-CD-...
0
votes
1answer
69 views

Windows search for specific filenames only inside in specific foldernames

I want to search in windows all files with names "text" only inside folders with "1H" in name. So is it possible to search something like that: searching_filename='text' searching_folders='*1H*'
1
vote
1answer
21 views

Find images with special characters on Mac

I have around 10k images and I need to find just the ones which have special characters and accents (like á, é, í, ...). The idea would be to keep those images with special characters and delete all ...
1
vote
0answers
865 views

How to remove a double file extension?

I had a terrible thing happen to Win 10 that resulted in me deleting my favor Music Folder. I was able to recover all music using Recuva. However, once all songs were restored the program added an ...
1
vote
2answers
48 views

is there a quick way to change part of a file name in every file and folder in a collection of nested folders a few layers deep?

windows or linux, either works, it's on an external drive either can read e.g. change "version2" to "version3" in every file and folder of a project? Though in this case i want to change patient ...
0
votes
1answer
89 views

Using Mac Terminal to Insert a Line into a Textfile that Contains the Filename

I'm using Terminal on Mac, and I have a series of text files that each contain data like this: 300.50 253.50 301.00 156.26 301.50 191.57 I want to insert a header for the columns where the first is ...
1
vote
0answers
164 views

Unable to use dashes in referential filenames, Why?

I recently setup Windows Subsystem Linux and created a symbolic link to a Windows folder in the Apache2 default server folder like so... ln -s /mnt/c/Users/user/Desktop/folder /var/www/html ...so ...
2
votes
2answers
2k views

Trying to search filenames with special characters in windows explorer (Windows 10)

Through a very annoying person's mistake, thousands of my files have been copied, often multiple times. This has resulted in thousands of files named filename(2), filename(3), etc. My bright idea was ...
0
votes
1answer
2k views

How do I reference a filename with spaces in Microsoft Excel?

I want to create an external reference to cells in an Excel spreadsheet named Employee Data.xls. When I enter the formula =[Employee Data.xls]sheet1!A1, I keep getting the error "The name that you ...
1
vote
1answer
408 views

Identify pattern on filename using batch

I have a script that renames files by adding a timestamp as a prefix to the current filename. A file with a timestamp looks like this: 20170407_1030.file1.txt I run this script in a folder after I ...
0
votes
1answer
169 views

Verified file copy on Windows, for files on a long path UNC?

This is a problem which has a thousand posts across the internet but I can't find answers that are specifically suited for GUI + verified move/copy, so it doesn't look like a duplicate question. I ...
0
votes
1answer
1k views

VBS Replace characters from filenames of all files in folder and subfolders

I need to change a lot of filenames, get rid of special characters (ç, for instance - but it is better if it could be tailored for a list of values instead of one at a time). I'm not vbs proficient, ...
0
votes
1answer
53 views

nemo and ls showing different filenames

I'm trying to analyze a piece of malware from the internet. I found out, that nemo browser and ls command show the filename of the malware in different ways. ls displayes filenames IMG147pgj.exe, ...
1
vote
1answer
48 views

Directories ending with dots behave strangely on Windows

Recently I noticed a strange directory whose name is foo.. When double-clicking it to view its content, I found it to be identical to foo. I then deleted foo and tried to view foo. again, but Windows ...
1
vote
1answer
75 views

Batch rename file names, retain ext?

(Win10) In a batch file, how do I recursively rename filesnames in a folder? Not the extension. e.g. Files to rename: heavy.doc, bright.jpg, fast.docx, quiet.png, etc Rename to: A1.*, A2.*, A3.*, ...
60
votes
5answers
9k views

Why does `dir *.*` give me all files and folders?

When I run dir *.* it produces unexpected results. Even files and folders without any dot in their names are listed. For example C:\>dir *.* Volume in drive C is System Volume Serial Number is ...
0
votes
1answer
270 views

Why file name should not be started with hyphen or underline?

And also in the following document, He said: " Avoid using underscores in a filename " http://www.mtu.edu/umc/services/digital/writing/characters-avoid/ Why? Can i use underscores or start with ...
1
vote
0answers
468 views

Cmd command. Delete a hidden file without extension by filename mask

How can I delete a hidden file without extension in the specific directory by filename mask (QWER)? del /A:H "C:\Program Files (x86)\Test\QWER@*."
0
votes
1answer
282 views

Strange short path name on Windows

In my home directory on Windows, I have plenty of dotfiles and dotfolders that get created by software, and that I create myself for consistency. I've never really thought much about it, except when ...
0
votes
0answers
696 views

UTF8 characters in windows 10 file explorer not displaying correctly

I have a Dropbox folder which I sync between Linux and Windows 10. If I create a file with a special character like ä on Windows it is encoded as UTF16 and displays correctly on Linux. If I create a ...