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.

Filter by
Sorted by
Tagged with
0
votes
1answer
12 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 ...
1
vote
1answer
32 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,...
1
vote
2answers
45 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
1answer
45 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
0answers
27 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 ...
4
votes
3answers
459 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 ...
0
votes
0answers
28 views

How to isolate list of values in Excel spreadsheet

I have a randomly generated list of 5,000 filenames. I'd like to isolate this list from a seperate excel spreadsheet of 60,000 rows, in order to extract the respective values from other columns. How ...
0
votes
0answers
65 views

What is this for a file name encoding and how to fix it?

On my Linux machine I found old files (at least from 2004 if not older), so possibly Win9x days. Maybe they came over some old FAT drive on my disk or some old Samba share. Umlaute are very weirdly ...
0
votes
1answer
37 views

How do you create your own filename extension that works on Windows 10?

I created a .pdf file that I called dhwd7486.pdf, because I want to create something great (this is included), I renamed the file extension into .unused (cuz I use it occasionally), but I thought it ...
1
vote
0answers
39 views

Rename a file with special characters and symbols? [duplicate]

I have read carefully the answers on this post. None of them helps me. I have accidentally download a file with non-ASCII characters into my Windows desktop as shown. I cannot move it or rename the ...
0
votes
0answers
60 views

Uploades files to ONEDRIVE the “.” is changed to “_” as file name separator, example: mydoc.doc is uploaded as mydoc_doc

I've been using ONEDRIVE with no problems since several years ago. But suddenly when I start to sync all the files names are uploaded changing the "." extension separator to "_". ...
0
votes
1answer
73 views

“ls” found a file, “cp” cannot find it (cannot stat)

I have a file called guess.cpp.  I confirmed its existence with ls, but when I try to copy it, I get a “No such file or directory” error message: ~$ ls ~cs252/Assignments/guess guess.cpp yesno.cpp ...
0
votes
0answers
12 views

What are longest extension names functioning in actual programs? [duplicate]

I'm writing piece of code detecting file extensions and I was getting quite a lot of garbage like . Jones - Some Document Title just because file name was starting with Dr. Jones. So I decided to put ...
0
votes
0answers
16 views

How to restore a time machine backup of a volume whose name contains a slash

I am trying to restore a volume from a time machine backup on a different machine using tmutil on a Mac. Unfortunately, the volume I am trying to restore was named "/#defaults". File names ...
1
vote
1answer
41 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 ...
0
votes
0answers
26 views

Cannot delete temporary file with extremely long name

I ran BleachBit for Linux on an external hard drive with the wipe-free-space function (empty space is overwritten with zeros) and for some reason the program crashed mid-course. It left over a ...
2
votes
1answer
54 views

Windows alphabetical file sorting: is there a way to ignore extensions?

(This is a follow-up to Windows alphabetical file sorting: why do spaces have special treatment?) For years I have been confused by the Windows file sorting order; as an example, the pdf file named &...
0
votes
1answer
35 views

Cross-compatibility for filenames on Mac OSX/Windows?

If I was to share images and wanted to make them work on both Mac OS X/Catalina and Windows, would this practise be good: My_Holiday_Italy_August_2014_0001.jpg My Holiday Italy August 2014 0001.jpg My-...
0
votes
1answer
28 views

How can I fix a file name in a System Error message not displaying properly?

I'm getting an error message when I try to launch a program saying I don't have a specific .dll file, but the name of the file itself is displayed as gibberish. It's not the first time something like ...
0
votes
0answers
39 views

Retaining the original filename for online image search without having own website

Let's say I search online with Google for jpeg images and find that a filename such as ABDCEFG1234567.jpg does not appear in the results. I conclude it is unique. I now wish to save an image file with ...
1
vote
1answer
281 views

What is the maximum length of a filename (APFS)?

Last weekend I saved a file with a quite long name (some 40 - 50 characters). This got me wondering what the maximum length is of a file name on Mac? This would (presumably) also include the extension ...
0
votes
1answer
193 views

Haunted subdirectory — can't open files in it unless I move them

I have some subdirectories from which perfectly good files cannot be opened, unless I move them out of the directory into another directory. And, if I then move them back into the original (bad? ...
0
votes
0answers
25 views

How does the “/n” switch of the “copy” command actually work on Windows Command Prompt?

How does the "/n" switch of the "copy" command actually work on Windows Command Prompt? It seems to say that it copies the 8.3 filename instead of the long filename. I tried it, but after copying, ...
0
votes
2answers
45 views

Using MV to rename image files using a script

I am trying to rename a set of Tiff images 001, 001 x, 002 , 002 x sequentially. I am looking for the script to name image 001, 002, 003 and so on This is the script I am running. num=1 # Rename ...
0
votes
0answers
20 views

Change handling of UTF-8 characters in detox

I have the following filename: wzór umowy.pdf. I want to get: wzor_umowy.pdf. However, running detox with default settings on this file gives: wzo_r_umowy.pdf (notice the underscore _ after the ...
-2
votes
1answer
33 views

Bulk File Name Replace

I have nearly 4,000 image files that I need to rename. They all contain one type of unique ID number (let's call it ID1) along with some other words, and I need to rename them to a different type of ...
0
votes
1answer
152 views

Using a Windows XP Batch script read in a list of filenames and then parse filename to create new filenames

I have a very old Window XP program that I want to automate a little. It takes three parameters: ITF.EXE <control-file> <input-file> <output-file> and it only accepts 8.3 ...
0
votes
1answer
69 views

Do filenames add to the filesize?

For example, let say a Unicode character would take up 1 byte. So we have a text file that is named foo. The contents is foo bar Remember to include the return carriage (It is a control character I ...
0
votes
1answer
59 views

What happens if you connect a memory stick with invalid file names to Windows?

Windows has some forbidden filenames such as "con", and filenames with backslashes ("\") are also not allowed (as the backslash is used to separate folders in paths) nor can the same folder have a ...
1
vote
1answer
37 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 ...
1
vote
1answer
602 views

strip android filenames of illegal characters when copying to windows

On my Android phone since years I use an app called 'Fastnote' for notetaking. The notes are automatically saved with a filename that corresponds to the first line of the file. Such automatic saving ...
2
votes
2answers
95 views

How to record keyboard macro?

I have a task to rename a lot of photos that had naming corruption and I have to rename each photo a lone which is a lot of work. I thought why won't there be a solution to record all the process of ...
0
votes
1answer
93 views

powershell move masterfolder items to destinationfolder matching filename

i have a masterfolder with 1000 files, they are reviewed. I have the same older files in a destination folder spreaded out in 100's of subfolders. I need to move the files from the masterfolder to ...
0
votes
1answer
769 views

Windows 10 Long File Names

I built a new computer from ebay scraps after my laptop died. I began transferring files from my old hard drive (Windows XP to Windows 10) and ran into an issue where I could not either move or delete ...
5
votes
1answer
1k views

Windows alphabetical file sorting: why do spaces have special treatment?

I've noticed that in Windows, when you sort files alphabetically, there's a strange thing that happens when you have file names that extend one another with spaces. For example, say you have two files,...
2
votes
1answer
5k views

How to show file names instead of metadata title in VLC?

Metadata from various artists and music websites is a gigantic inconsistent mess and much harder to edit than filenames. To actually know which file is currently playing, I would like to see it in the ...
1
vote
1answer
6k views

Windows Server 2012 R2 Standard “Enable NTFS long paths policy” option missing

A similar problem as in Windows 10 occurs in Windows Server 2012 R2 Standard. The Enable NTFS long paths policy is neither in Local Computer Policy > Computer Configuration > Administrative ...
0
votes
1answer
32 views

Auto-rename 5,000+ filenames and maintain filename consistency with excel file

I'm sorry I don't know how to word this well. I'm wondering if this is possible. I have a folder of files I have an excel file with a column that contains the filenames. I want to be able to change ...
0
votes
1answer
336 views

What causes invalid characters (\\?\) to appear before a file path?

What causes invalid characters (\\?\) to appear before a file path only in certain folders? Invalid file path: \\?\D:\computerfiles... The files with the invalid path cannot be opened in the ...
0
votes
1answer
86 views

How to merge directories differing only by character case in their names?

Some cloud storage services let one download chosen directories as ZIP archives. But it appears that, on one of such services, the archives contain different-cased versions of the same directory. E.g. ...
1
vote
2answers
1k views

How comes that short filenames (8.3) are created in one partition and not in another of the same disk?

I run a 64-bit Windows 10 PC with a single hard disk with two NTFS partitions, C: and D:. Short filenames (8.3) are created in C: but not in D: How is this possible, and Can I enable short filenames ...
1
vote
1answer
333 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 ...
-2
votes
1answer
88 views

Bypass file system max file name length

How to bypass file system max file name length? Is there a filesystem, which supports arbitrary length file names? It seems that pretty much all filesystems limit file names length to ~255 characters.
0
votes
1answer
22 views

How to do PDF snipping (image extraction) with filename added to image?

I was doing some literature research and was copying together (extract figure in Adobe PDF) figures from a large number of papers. It is super tedious to keep track from which publication, which ...
0
votes
1answer
299 views

Invalid pipe character in file name

I’m on Windows 7 Pro x64 and I’ve downloaded a file using Firefox and it’s named guerriére | warrior.PNG with a pipe character (|) in file name and I can’t find how to delete or rename it. Running ...
1
vote
3answers
5k views

I have a linux file with a colon in the filename that I cannot open, rename, or delete. How can I remove the colon from this filename?

Like I said, I have a a file with a colon in the filename, but I cannot do anything with it. How can I rename this file, exclude the colon? $ ls -l ls: 'Colossus:_The_Forbin_Project.mp4': No such ...
0
votes
1answer
24 views

Fixing git appended to file names

I had to work on a corrupted git repo recently, and after fixing it, many of my file names have been changed (ie. file.txt -> file (bf800a19).txt; or file.py -> file (418d7abf).py) I'm guessing that ...
1
vote
3answers
132 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 ...
0
votes
2answers
187 views

Delete all files with names longer than 100 characters?

A beta software I installed accidentally created a log file with file name longer than 100 characters in each folder. It's taking a very long time to delete them one by one Is it possible to bulk ...
1
vote
2answers
3k views

What file names are not allowed in OneDrive?

I have been having some trouble lately with OneDrive files not syncing properly, and each time it turns out to be some obscure naming restriction. Is there a full list somewhere of what filenames ...

1
2 3 4 5
9