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.
466
questions
0
votes
1
answer
53
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 ...
0
votes
0
answers
82
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 ...
1
vote
1
answer
31
views
Make a list of files that contain just numbers as the filename in Windows [closed]
I have a large number of files on multiple hard drives, some of which are just in a format like 1.mkv
Sometimes that 1 is actually multiple digits, but in all cases (that I'm currently looking for) it ...
0
votes
1
answer
465
views
Asterisk in Windows filename
I'm trying to copy and paste the asterisk in a filename in Windows, but I got an error; I copied also the asterisk from charmap, but nothing to do.
Is there a symbol also similar to the asterisk that ...
1
vote
0
answers
27
views
Windows 11, Filename of C:\Users\name was misspelt, renamed the file however when I open the command line It still shows the misspelt name [duplicate]
When setting up my laptop I misspelt Artoid as Artoi, this meant the filename of the user file was Artoi, I changed the filename as shown in the photo below:
The file is named Artoid in file explorer.
...
0
votes
1
answer
258
views
Some files have truncated filenames with mkisofs -J -R
I have installed mkisofs 3.02a09 (i686-pc-mingw32) on Windows 10.
I'm trying to create an ISO with mkisofs but some filenames are truncated :
PS C:\tools> mkisofs -J -R -o VDI-Michelin-Editions-...
1
vote
1
answer
136
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 ...
0
votes
0
answers
79
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, ...
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 ...
0
votes
1
answer
93
views
Windows 10 - script with regex to compare partial filenames and copy over ones that don't exist
I'm running Windows 10.
I'd like to copy many files from a folder into another, and probably I need a script, or any else solution that can do it.
I have 2 folders:
the folder A contains files named ...
0
votes
0
answers
112
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&...
0
votes
3
answers
339
views
How to check in Bash if there is a file with an asterisk it its name
I've got an error in a Bash script that creates files with an asterisk ("*") in the name. I do not want this, so I'm trying to test at various points in the script if such a thing exists ...
3
votes
0
answers
475
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, ...
1
vote
0
answers
68
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 ...
0
votes
0
answers
79
views
How to Break lines of the displayed file names under extra large icons' miniatures at specified points in Windows Explorer?
How to Break lines of the displayed file names under extra large icons' miniatures at specified points in Windows Explorer?
I want to optimize this file name display mode for the Extra large icons ...
0
votes
2
answers
424
views
Remove all characters in multiple filenames, that follow a specific character, in Mac OS
Trying to find a script, or app, that batch removes filename clutter following proper formatting.
For example this Exercise [2009] previous version.png into this Exercise [2009].png
I need the final ...
1
vote
1
answer
47
views
How do I correctly execute 'vim $(grep -rli pattern | sed 's/\(.*\)/"&"/')' in bash?
I am trying to edit files that contain text matching a regular expression with vim and use the following command in bash to do that:
vim $(grep -rli pattern | sed 's/\(.*\)/"&"/')
I ...
0
votes
1
answer
921
views
How to remove all files from GIT repo history with path having colon : in filename?
I have ISCSI node filenames with colons stored in GIT repository on Debian 10 Linux.
Example:
'iscsi/nodes/iqn.2000-01.com.synology:NAS01-DS916.nas/ff11::111:11ff:ff1f:1ff1,3260,1/default'
'iscsi/...
0
votes
0
answers
147
views
Extract files in order by numbers at end of filename (windows)
I want to use a Windows .bat file to extract a number of files in a folder.
I have files with numbers at the end of filename, just before the extension, and I need to extract them in order of these ...
0
votes
0
answers
155
views
How to remove unknown character from a filename in Linux
I am using Nextcloud to sync files from computer A (unknown computer - i'm guessing Mac) to computer B (Rocky Linux server).
Some of the invoices that come from computer A have special characters in ...
1
vote
1
answer
199
views
zmv to rename Unicode characters (e.g. u0308 'COMBINING DIAERESIS') on Mac/zsh-shell
While cleaning a file server I found unwanted or non-ASCII characters in many filenames.
To rename unwanted filenames, I normally use the comfortable zmv command in a zsh shell on an OSX machine.
To ...
2
votes
2
answers
2k
views
rsync "File name too long (36)" error for filenames with UTF-8 characters
Trying to copy files from an NTFS-formatted HDD to an EXT4-formatted HDD, rsync fails to copy some of them having relatively long file names consisting of Asian (UTF-8) characters.
For example, there'...
1
vote
3
answers
2k
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 ...
0
votes
1
answer
213
views
How can I rename all files in a folder as page001.jpg, page002.jpg, page003.jpg, etc. sorted by their former filenames on Windows 10?
I have 50 JPG files in a folder:
alice.jpg
bob.jpg
bobby.jpg
etc.
How can I rename the files as:
page001.jpg
page002.jpg
page003.jpg
etc.
sorted by their former filenames on Windows 10? (ascending ...
1
vote
0
answers
318
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 ...
0
votes
1
answer
1k
views
Git clone failed on Windows due to file name length
I'm trying to clone a Git repository on a Windows machine that has an NTFS volume.
Unfortunately I get several errors:
error: unable to create file (...) Filename too long
The files in question are ...
0
votes
0
answers
20
views
How to automatically repair copy/pasted filenames from web in Windows Explorer to avoid illegal characters?
Is there any way to paste text from web automatically simply as a single line text in Windows 10 File explorer?
I'm surprised Microsoft Windows developers have never made it so that this error is ...
0
votes
1
answer
312
views
ffmpeg segment naming of rtsp surveillance stream HikVisions
I need to ensure unique segment names: Apparent POE cable defects, etc. around campus cause HikVision camera streams to require their ffmpeg daemons re-started once or twice or more times/day. (I am ...
0
votes
0
answers
355
views
Extracting data from filename with spaces in Batch file
I have a batch file that moves a list of files around by grabbing the first 6 characters from the filename and moving it to the folder containing the extracted characters. I need to take this one step ...
0
votes
1
answer
677
views
Filename of current slide on Win10 desktop
Windows 10 desktop is showing a slideshow of random images from a local folder. How can I find the filename of the current image?
0
votes
1
answer
62
views
How can I find original or past filenames if I did not created a security copy or a point of restoration?
I used a program for changing file names in a masive way, that program I used was "reNamer", but now I'd like to return all the original names because I believe I made an error when I tried ...
1
vote
0
answers
225
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 ...
1
vote
0
answers
15
views
search for a substring in file name with built in windows search on Windows 11 [duplicate]
am using windows 11 and I find that the built in search facility is not working as expected.
I have a folder like this
and when I search it like this, I get no result.
I would like the search tool ...
0
votes
2
answers
121
views
Separate text files for over 15,000 photo files, with the same name as each photo
My problem is that I have over 10.000 photo files on my laptop and wanna transfer them into the cloud to make space (and a faster laptop). But after doing that, my search engine "Everything" ...
1
vote
0
answers
215
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. ...
0
votes
1
answer
4k
views
Which Unicode characters cannot be used for NTFS file names?
Typically, my programs are creating files with Extended Latin, CJK or Arabic characters in file names without issues and according to input data.
I was under impression that only officially named ...
1
vote
1
answer
31
views
Downloading a PDF from email: "/" gets replaced
First of all, this is my first time using super user. I'm pretty sure that SO isn't the right place to ask this, and this isn't limited to just Mac, as it's with email, so I decided to ask here. If ...
0
votes
1
answer
5k
views
MobaXterm - Why is my LOG filename shows "localhost" instead of my hostname when establishing an SSH session?
I'm quite new with MobaXterm. For each SSH session that I open to a given host, I want to log the terminal output to an individual file whose filename includes the given hostname + timestamp. I have ...
3
votes
1
answer
2k
views
Powershell: Using .Split on Filename functioning differently based on filename capitalization
I have a bunch of image files that accidentally got renamed with a "doubled" file extension (e.g. IMG_1469.jpg.jpg). I wrote a script to remove the extra file extension, but for some reason, ...
0
votes
0
answers
41
views
Audit Request for Complete List of Recognized Filename Extensions in FFMPEG FFPROBE FFPLAY
I understand FFMPEG has a list of supported codecs and some users will be tempted to dismissively handwave my request by telling me to do my own research on codecs. Those responses will be treated ...
1
vote
1
answer
887
views
Windows Explorer filename sort order: why ×a before 'a?
Have a look at this filename sort order in Windows 10 Explorer:
The character ' is mostly sorted before ×. But why is it the other way around for 'a vs. ×a?
1
vote
0
answers
123
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.
-1
votes
1
answer
823
views
How do I access a file on Windows with an invalid filename?
I recovered a file using Recuva from (I believe) a FAT32 file system to an NTFS file system with Windows 10 installed. The file had a space in its name: The Grilling . In Windows, I know that ...
1
vote
1
answer
104
views
What Could Explain This Odd "Automatic Save" Behavior of Notepad?
I have recently encountered this very odd behavior using the basic Notepad of Windows 10, and I can't figure out what could explain it.
I'm using the MT Power Drumkit 2 plugin for the LMMS music ...
0
votes
1
answer
122
views
PDF-Pages To PNG And Back To PDF In A Hotfolder Via Script
For security-reasons I want to decompose PDF-files and put them back together (like printing them and scanning them back in). I want to offer this for my users, so I would like to script a kind of ...
2
votes
1
answer
15k
views
Batch copy file with current date in file name
How to copy files from one directory to another, whose names contain current date, and so the names change daily.
Example:
File name: Test_14042021.txt
Date today: 14/04/2021 // DDMMYYYY
I tried this,...
3
votes
2
answers
2k
views
How can I modify path coming from {} in `find -exec`?
I've been reading quite a few posts howto find files and copy those.
What I want to achieve.
Copy all *.jpg files from every directory to one directory.
To avoid overwriting my intention is to add or ...
0
votes
1
answer
57
views
Remove all "-min" endings from a batch of jpg or png files
Using the CMD (or some other way) on windows, how can I quickly rename all files [FILE_NAME]-min.png to FILE_NAME.png?
I know a command like forfiles /m \*-min /c "cmd /c rename @file @fname.png&...
0
votes
0
answers
1k
views
How bypass long path names during copy from hard drive to external hard drive
I have a big problem during copy files from my hard drive to external hard drive.
During copy i saw 10-40 errors related to long path names and i skipped all of them.
Unfortunately windows 7 do n't ...
7
votes
3
answers
6k
views
The maximum length of the path of a file: 259 or 258 characters?
I try to understand what is the maximum valid length of the path a file.
For this, I use the default Windows file manager, on Windows 7, and the following PowerShell script:
Get-ChildItem | Select ...