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.

107 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
483 views

Can I make windows file explorer treat underscore (_) as a word separator (for ctrl navigation)?

I'm overhauling my folder structure and trying to come up with a good file-naming system. Underscore seems like a good field separator - less obtrusive than (-) and more portable than space. When ...
MASQ's user avatar
  • 71
3 votes
0 answers
499 views

Microsoft Word Print/Save as PDF now “Untitled” instead of DOCX filename

Just recently my copy of Microsoft Word for Mac Version 16.72 (2021) has stopped titling filenames of PDFs when exported from the Print dialog. Steps: Open or create a Word DOCX file. Hit commandP, ...
2540625's user avatar
  • 393
2 votes
0 answers
100 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). ...
swimex's user avatar
  • 21
2 votes
2 answers
775 views

How to redirect output to file that has slash in name

I want to create a file named ./https://www.example.com, but the following doesn't work: [ ~]$ URL="https://www.example.com" [ ~]$ echo "Hello!" >"$URL" bash: https://www.example.com: No such file ...
nullUser's user avatar
  • 753
2 votes
0 answers
1k views

Filename encoding for Windows and Linux

My laptop has dual boot systems, one is Windows 7, another is Arch Linux, they share a disk. And I downloaded some files into the shared disk in Arch Linux, whose filenames contain Chinese, Korean and ...
宇宙人's user avatar
  • 157
2 votes
1 answer
2k views

Renaming multiple files in windows 7 and changing the IconResource field in all desktop.ini

I have multiple folders under a root directory, within each is an icon (.ico) file which acts as the icon for the parent folder. Unfortunately, a lot of these .ico files are named "Untitled-*.ico" (...
timster's user avatar
  • 21
2 votes
0 answers
101 views

Change Default Naming Behavior When Copying Files - Making Revision Versions

In Windows 7, when I copy/paste a file named "project.ext" I want the result to be "project Rev.1.ext". (That part is solved by tweaking the code in this post.) In addition to that, however, I want ...
13ruce's user avatar
  • 213
2 votes
0 answers
3k views

How can I specify an /EXCLUDE file with spaces in it to xcopy?

I have tried to specify an /EXCLUDE filename with spaces in it to xcopy, but it always chokes. How can I specify such a path to xcopy without copying the /EXCLUDE files into the current directory and ...
binki's user avatar
  • 785
2 votes
2 answers
469 views

How do I use non-latin alphabet characters in a framebuffer console?

How do you guys use Linux when you have lots of files with non-Latin alphabets, or even Chinese/Japanese? I don't have a problem with Windows, because I do everything in the GUI (it's hard not to), ...
ritchan's user avatar
  • 21
2 votes
1 answer
4k views

batch-rename filenames with numbers to sort alphabetically

I want to batch-rename files containing numbers, padding the numbers with zeroes. The goal is to sort numbered sets of files alphabetically in the correct order in any application. In a set of files ...
HugoRune's user avatar
  • 738
2 votes
1 answer
2k views

Converting Filename Encoding

my operating system is Arch Linux. I am trying to extract a .zip archive that contains CJK characters in its filenames. It was most likely created on a Windows machine. I tried the unzip utility and ...
kaykun's user avatar
  • 163
1 vote
1 answer
149 views

Is there a simple way to specify whether a webp is lossy (like jpg), lossless (like png), or animated (like a gif)?

For example, is it possible to name something "file.lwebp" to explicitly designate that it is lossy, or "file.awebp" to designate it is animated? Or is there no such method, and ...
chausies's user avatar
  • 151
1 vote
0 answers
71 views

How do I print from an application to a line printer in Linux Mint?

I'm using Linux Mint and I have a BASIC interpreter that normally sends the output of LPRINT, LLIST, etc. to /dev/null. I want to send it to the line printer (network connected). BASIC has a command ...
TomL12953's user avatar
1 vote
3 answers
3k views

How to trim multiple file names using batch file

I need to trim all file names in a folder on a daily basis and therefore am searching for batch file recommendations. Any help is much appreciated!! The numbers behind the file names are changing on a ...
Lisa's user avatar
  • 11
1 vote
0 answers
334 views

PTS timecode in milliseconds tweak to roll over at 60 seconds?

I'm using FFMPEG to extract images from an MP4. I have a large project where I need to extract a few hundred images. I've cobbled together a working solution from various sites since I'm not an FFMPEG ...
Kittmaster's user avatar
1 vote
0 answers
237 views

Replace 2 of 3 hyphens in a filename with SPACE hyphen SPACE in Powershell

I have been attempting to modify the following example given for a similar question in Powershell, to match my own needs. Running the example works fine. Please could you assist in how to change the ...
Adam W's user avatar
  • 11
1 vote
0 answers
219 views

rclone not replacing invalid characters when syncing to SD card

I'm using rclone to sync stuff to both Google Drive and my phone's SD card formatted as vFAT. I've created the test file named a*b?c: containing special characters that are in my music library. ...
ChocolateOverflow's user avatar
1 vote
0 answers
132 views

Is there a good alternative to apostrophe s in file name?

If an one file named zelda's_sword.jpg is here, is there a good character or convention to replace 's? I know that sword_of_zelda.jpg will be good alternative but I don't want for several reasons.
miniar's user avatar
  • 11
1 vote
1 answer
54 views

How to rename a file with a : on a MacBook?

I'm accessing a Windows HDD from my MacBook (local network). The HDD has a file with a : in it, which is not a valid character on both Windows and Mac. I wanted to rename the file from my Mac since it ...
Edgar Derby's user avatar
1 vote
1 answer
295 views

How to transfer files between Windows and Linux via a cloud drive without messing up the names?

Because Windows and Linux use different encodings (I think CP-1252 and UTF-8 respectively), when I upload a file in a non-ASCII language to a cloud drive from one OS then download it in the other, the ...
J. Doe's user avatar
  • 345
1 vote
1 answer
1k views

Greenshot: Windows title not displayed in file name anymore

${title}-${capturetime:d"yyyy-MM-dd HH_mm_ss"}- This is the file name system that I'm using to name files on greenshot. The ${title} promises to name the file with the title of the window being ...
Saket's user avatar
  • 11
1 vote
1 answer
2k 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 ...
Stuntman Deathman's user avatar
1 vote
1 answer
36 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 ...
Gabriel's user avatar
  • 11
1 vote
0 answers
5k 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 ...
RK L's user avatar
  • 11
1 vote
3 answers
161 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 ...
Kirt's user avatar
  • 7,271
1 vote
0 answers
440 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 ...
oldboy's user avatar
  • 383
1 vote
0 answers
851 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@*."
555555555's user avatar
1 vote
1 answer
48 views

Select a specific part of the output and use it to rename files

I'm currently sorting files I recovered from a broken filesystem. They now all have filenames that go something like this: f123123123.xls If I run: file "f123123123.xls" it gives me a lot of ...
Joël Mettler's user avatar
1 vote
1 answer
269 views

Is it possible to delete, let alone see, a file called "␀" on Windows 8?

There is a file on my Mac called ␀, which is literally impossible to delete in OS X. I got access to Windows 8 and thought I could delete the file from there, but it's not even visible. So are you ...
DisplayName's user avatar
1 vote
1 answer
400 views

Wget gives me file names such as "index.html?foo=bar", but browser always opens "index.html" file instead

I've downloaded site dump with Wget (links are converted) and a lot of files have names like this: index.html?foo=bar. The only way i can open them is to directly specify them as browser arguments. ...
Epsylon's user avatar
  • 11
1 vote
0 answers
107 views

How do I locate a file / folder which is too long and bars me from uploading to OneDrive

I have a file/folder which is preventing me from uploading to OneDrive. I did not generate this file/folder and after 3 complete searches of my PC I cannot locate the file/folder. However, according ...
Iseult Catherine O Brien's user avatar
1 vote
4 answers
12k views

How do I delete a part of a file name for a batch of files in Windows 8.1?

I have lots of files in a folder but they all start with a line of numbers and are separated from the actual file name by a "_" For example: 123123123_filename.txt 456456456_filename2.txt ...
trashfight's user avatar
1 vote
1 answer
378 views

OSX TextEdit save with the first line

Is it possible to make TextEdit save an unnamed opened file with the first line (or first word) of the text of that document? eg: I create a new text document in TextEdit; write the first line as I ...
poupou's user avatar
  • 13
1 vote
1 answer
51 views

iTunes naming pattern different on Windows and Mac

On my Windows machine iTunes renames and moves all my imported TV episodes to the following format: TV Shows/[show]/Season [Season#]/[Season#]-[Episode# with 1 leading 0] [Episode Name] but on my ...
Oskar Persson's user avatar
1 vote
2 answers
197 views

Why are filename ordering rules different on graphical/non-graphical linux programs?

Here is the output of an ls: x-15.txt x-1617.txt x-2411.txt x-24.txt x-ae.txt x-afag.txt x-bdaa.txt x-bd.txt Note that x-1617 comes before x-24 and the same ordering rule seems to apply to the ...
spraff's user avatar
  • 2,148
1 vote
0 answers
289 views

Custom copy paste. how to eliminate invalid characters from paste?

I collect articles and like having the title of the article in the filename. However, some titles contain invalid characters such as ':'. This precludes a simple, and quick, copy paste operation to ...
Adam SU's user avatar
  • 131
1 vote
1 answer
988 views

Can part of a file name be used as a hyperlink?

I have created a word document using Word 2010. The file name is broken into 2 parts, I have the start which is an alphanumeric code (that changes every time I make a change to the document by me), ...
Jack's user avatar
  • 11
1 vote
1 answer
897 views

Does Exact Audio Copy support any scripting in filename construction?

In some media players including (MPC, foobar2000) it is possible to format the output of a playlist by using if control structures to select certain meta tags based on their presence, or others if ...
Ярослав Рахматуллин's user avatar
1 vote
1 answer
2k views

"Filename is not valid or too long" and "The specified path does not exist" in one file

I have a file in a folder that I use for python programming and when I moved the folder everything would go but the file. I don't know how it got there but when I try to delete it I get "Filename is ...
smithy545's user avatar
  • 111
1 vote
0 answers
166 views

Detecting short filename usage

In the process of determining whether or not to disable 8.3 filenames on an NTFS volume which is only ever accessed by 64-bit Windows. Since 64-bit Windows does not support 16-bit applications, 16-bit ...
user avatar
1 vote
0 answers
1k views

how to tar files with long name/long path

When I tar files with long path name, the file name is converted to "637", and the file doesn't exists in the packing file. I try to use gtar, with no successful. Do I need specific version of tar/...
user avatar
1 vote
0 answers
95 views

Zend studio can't open files with long name?

It fails to open such files: f83ac0fa419a277bec5820ab6298a688d0cd69f8.file.header_xxx_new.tpl.php Which can be opened in other text editors like editplus. Zend Studio Professional Edition Build ID:...
yoyo's user avatar
  • 23
1 vote
3 answers
3k views

Windows 7: "Hide file names" for all files?

So, I just discovered that you can hide the file names of pictures and videos when you are in a thumbnail view in explorer (via View - Hide file names)... but often I have other files mixed in. This ...
Saebin's user avatar
  • 321
1 vote
3 answers
222 views

Highlight multiple PDFs in one folder

I need to find every folder with more than one PDF in a folder structure but hide the pesky hidden files such as .HResource files that infiltrate our file system. I only want to filter folders that ...
JandP's user avatar
  • 31
1 vote
1 answer
3k views

How to add the timestamp as a part of the generated image file name in ffmpeg

I am trying to extract png images from a video using ffmpeg and add the timestamp as a part of the generated image file name. Please see the below command I am using for the same ffmpeg -vcodec ...
Navaneeth Sen's user avatar
0 votes
1 answer
80 views

Folder names and file names text wrapping in wrong position

File names and folder names on windows 10 - the text wraps down to the next line and it is visually distracting and, frankly, horrible to read. How do I stop the text from wrapping? Letters of the ...
hsawires's user avatar
  • 476
0 votes
0 answers
93 views

How to force Windows file explorer to display files that have invalid names?

I was searching journals on a research topic. I eventually got to some old exotic site containing a zip file which according to the description contained multiple documents. However when I unzipped it ...
pi4261's user avatar
  • 1
0 votes
0 answers
93 views

How can I restrict filenames to only allow [A-Za-z0-9_-.] in Windows?

For reasons, I want to limit filename characters to the set [A-Za-z0-9_-.] (upper & lowercase alphabet, numerals 0 to 9, underscore, hyphen, and period). No spaces, exclamation points, @ signs, ...
Cedric Silvester's user avatar
0 votes
0 answers
23 views

Is there a program that can select the smallest files by size during a file conflict in windows 10

So I'm resizing some VTFs by converting them back into PNGs then sizing them down to 512x512 as maximum anything smaller stays what it is. that said I have 2 folders 1.oldmats 2.newmats. now while ...
Fred's user avatar
  • 1
0 votes
0 answers
118 views

Excel Macro error prompting Save As dialog box with weird file name

I made a code for a friend something like this : Sub SaveToMainData() Application.DisplayAlerts = False Application.ScreenUpdating = False pfn = ThisWorkbook.Path & "\Backup\MainData.xlsb&...
karma's user avatar
  • 111