The tag has no wiki summary.

learn more… | top users | synonyms (1)

1
vote
1answer
1k views

How to remove leading whitespace from file and folder names?

How to remove leading whitespace from file and folder names? (I'm running OS X 10.6 Snow Leopard.) As provided below by @Lri I was able to remove trailing whitespace using this: #!/bin/bash ...
2
votes
1answer
246 views

Directory transfer from Linux -> Windows; 255 Character limit error

I need to copy a very large directory from a linux server to a windows machine; the directory is very large and contains directories that go as deep as having 50+ subdirectories. So as you could ...
3
votes
2answers
5k views

function to automatically remove special characters from file names during saving in MacOS X

I'm often creating PDF files from web pages in MacOS X (10.6) and very often I have the problem that the automatically proposed file name (based on the name of the web page) contains many special ...
1
vote
2answers
267 views

Rename photos, jpg ordering based on raw times

I have a large set of photos taken with both JPG and RAW which are named in wrong order since the camera counter reset after about half of them. While going through the JPG files I turned some of them ...
0
votes
1answer
202 views

How to find candidates of file duplicates based on a similarity of their names?

I am not searching similar images or photos (imagedupe) nor audio files! I have a lot of media data here and I want to spot duplicates based on their file name. I know that there is fdupes, etc. but ...
4
votes
2answers
5k views

Renaming/deleting impossible filenames in Windows 7

I have some files with 'impossible filenames'. I'm not talking about special characters or anyting, but really impossible ones. (filesystem NTFS) One file is called images\receipt.jpg (yes, this is ...
3
votes
2answers
506 views

How can zsh be configured to autocomplete directory name with camelcase matching?

Eclipse and Resharper have a nice way of navigating files. If I have the following folders (or files) in my current directory MyReallyLongName MyReallyLongAndFunName MyReallyLongAndNotReallyFunName ...
0
votes
0answers
25 views

OS X update results in question marks in file names [duplicate]

Possible Duplicate: File names in OS X appearing with question marks I've recently updated my Mac and now some file names contain question marks when viewed in Finder or the terminal. I ...
4
votes
4answers
520 views

How to copy files containing | in the name?

In Windows 7 I can't copy the file with | in the name. Gives me an error Can not find the file. I have around 30GB of files and all contains that character. Any idea how can I copy them to another ...
2
votes
2answers
275 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), ...
2
votes
3answers
4k views

WinSCP can't upload file or folder with blank spaces

I have created a batch file containing WinSCP commands to upload files in different folders. Now, file names and folder name contain blank spaces. It's showing an error when I'm running the batch ...
0
votes
0answers
54 views

Why do I see all the files in sub-sub directories?

I'm using Win7, 32 bit. I have a subdirectory under Documents which has several subdirectories. Example: Documents\level1\level2. At level2 there are, lets say 10 subdirectories. In each of these ...
8
votes
1answer
3k views

Windows explorer sees different file name from cmd

I just got a new computer, and put my old hard drive (which contained Windows) in the new computer to keep my old files. I was successfully able to remove the Windows directory from this drive, but ...
10
votes
4answers
10k views

Filenames too long and Windows can't open the files

There's a bunch of files on a network drive, on a fairly deep path and the directories on most of of have long names. I think that these were originally created when someone copied & pasted the ...
3
votes
3answers
2k views

extracting file with too long of a name

I have a rar archive that I downloaded, except some of the filenames are too long to be created by ubuntu. How can I extract all of the files? The default archive manager on ubuntu goes through most ...
0
votes
1answer
80 views

My itunes library files now start with “original” in the filename. How to fix?

Not sure what happened, but I think an app I was looking at as an alternative to iTunes at one point, may have hosed my music library. In trying to clean up and de-dupe my music library, I have found ...
-1
votes
1answer
929 views

Facebook photos: batch renaming to useful filenames [duplicate]

Possible Duplicate: How can I do a mass file rename in Windows? Scenario: I work with a journalist friend who writes and photographs for travel and art subjects. He uses his Facebook ...
1
vote
1answer
128 views

Why do I sometimes get double extension names in OS X?

Sometimes when downloading files, I end up with a file like "foo.txt.txt". Sometimes I end up with just "foo" (and then manually change the extension later). Is this a common problem with OS X? What ...
5
votes
1answer
595 views

Uploading certain files and folders via SFTP causes names to be uppercased

I have a small set of files and folders in a directory on my computer that are causing issue. When I upload them to my web host (Dreamhost) via SFTP (using Transmit on OSX, a GUI), most files and ...
17
votes
3answers
7k views

What characters are safe in cross-platform file names for Linux, Windows and OS-X

Currently, I use a YYMMDD-NAME+PAGE name for most of my files. NAME has spaces converted to underscores. I'd like to use the YYYY-MM-DD date format, but I am not sure how to separate it from the ...
3
votes
3answers
1k views

Automatically strip invalid characters from Windows filenames

I often paste titles of PDFs into their filenames so I can easily search for them. They often have invalid characters like newlines or :, and Windows pops up a stupid error and then reverts the ...
15
votes
1answer
35k views

How to prevent long file name error copying from an external drive?

I have an external hard drive with many files (800 GB). I want to copy the entire contents of the external hard drive to my local drive. get many errors about long file name or long file path. ...
6
votes
4answers
33k views

How do I recursively list filenames (only) in DOS/Windows? [duplicate]

Possible Duplicate: Get bare file names recursively in command prompt I would like to recursively list all files in a directory, showing filenames only (without extensions and without the ...
1
vote
2answers
651 views

Shell script for batch converting video

I'm attempting to write a script for use with HandbrakeCli to convert .mkv-files to XBOX 360 compatible mp4-files. #!/bin/bash for f in "$@" do echo "$f" HandbrakeCli -i "$f" -o ...
0
votes
2answers
514 views

Use full ascii table to file name in linux

In the Windows operating system I can use unusual characters in the file name by typing the decimal code of the character in the number pad. This way I can access all of the characters in the ...
1
vote
1answer
225 views

How to annotate files - when long filenames are not enough

I work with many files doing general data analysis. Things I want to know about my files include: what data is contained in the file (in long and very long descriptive, english text)? is the file ...
0
votes
1answer
1k views

How to batch add leading zero to fix order of # filenames? (not experienced with code) [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? The title says it all. The problem is that the first nine files of a couple of hundred are ...
1
vote
5answers
6k views

While renaming, How can I disable Windows 7 highlighting the entire filename when I click'n'drag across part of it?

This is super annoying. If I highlight one word in the long filename, the entire filename gets highlighted (usually 1 millisecond before I tap delete or type something else). I just want Windows to ...
1
vote
1answer
4k views

How to extract the filename extension out of %f in script?

The windows %%f returns the full name of the file as 'filename.ext' e.g. for /r %%f in (*.wav) do echo %%f Is there a way to extract the filename without the extension from %%f?
1
vote
1answer
1k 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 ...
0
votes
2answers
433 views

Mac OS X Symbol in filename priority

Not sure if this feature was in OS9 and under or ever made it to X or was in 9, or what.. but it used to be that if a user started a filename with a '!', then it would be listed first in Finder ...
0
votes
1answer
1k views

Stripping out illegal characters such as question marks “????” from names of my files on Windows 7

I need a simple free software program that can strip out illegal characters such as question marks ???? from names of my files on Windows 7, 64 bit and can strip them in batch/bulk
11
votes
1answer
12k views

What does a blue filename in Windows Explorer mean?

I am viewing a network share where some filenames are in blue instead of black. I am using Windows 7. This question mentions green filenames, which indicates encrypted file. What does a blue ...
1
vote
2answers
4k views

Which is the fastest way to replace all “underscores _” in filenames with “space” [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? I have many PDFs of EBooks but some of them have underscores in their filenames so it ...
2
votes
3answers
456 views

Does “show all filename extensions” actually work in Mac OS X?

Quite simply, the option in Finder prefs to show all filename extensions is checked, but sometimes when I save something, e.g. a text file, and don't explicitly specify a filename in the save dialog, ...
5
votes
2answers
12k views

Get bare file names recursively in command prompt

I ran into a little snag trying to get only the filenames (no extensions or file paths) recursively.This worked for me in the root folder: dir /b But when i added /s to scan recursively i also got ...
0
votes
1answer
53 views

How to get names of files spooled for printing?

I need to get names of all files spooled for printing. How can I do this in Unix?
4
votes
4answers
203 views

Should all plain text files have some sort of suffix (e.g. *.txt, *.conf)

I create many notes in plain text files, but after a while the .txt suffix I put at the end of them seems to be unnecessary typing and visual noise. Is appending .txt to plain text files a strongly ...
1
vote
1answer
2k views

how do I open a file from bash when it contains brackets

A previous developer on my project created backup copies of files using the format "filename (date time).extension" even though the project was under SVN control (don't ask!!!). I now can't open ...
3
votes
3answers
754 views

Recover ext4 filenames

I have a corrupted ext4 file system that had ~7 TiB of data on it. Using photorec, I was able to recover usable data, but all the filenames are gone. Is there a tool that would let me recover the ...
4
votes
1answer
681 views

script to convert ext4 filenames to ntfs

ext4 allows certain chars in filenames which ntfs doesn't. Is there a script to replace those chars in filenames?
3
votes
1answer
3k views

How to configure folder name case sensitivity in Windows 7?

I need to create files named abc.txt and ABC.txt. By default, Windows 7 will not allow this. Somebody please help me to solve. NB: nfsadmin is not working in my system.
2
votes
1answer
1k 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 ...
0
votes
0answers
95 views

Tool/method to reformat filenames [duplicate]

Possible Duplicate: How can I mass rename files from the command line or using a 3rd party tool? I get lots of files from a variety of sources whose names I need to clean up for safe ...
5
votes
2answers
1k views

How to create a file with a “#” character in the name in Unix?

I've tried many commands already for creating a file and deleting a file with a # character, but it does not work. Can anyone tell me the command to create and then delete a file that begins with #?
2
votes
3answers
98 views

Odd character string included in files download via torrent

I recently download a torrent and am curious about a part of the file name, which is about eight characters long with random numbers and letters. Example filename of a video which I downloaded: ...
1
vote
1answer
830 views

How to avoid the full path being shown under an embedded document in Microsoft Word 2003?

When I embed a document inside another using Inset>Object>Create from file, the file is shown with the full path underneath, truncated by the available space so it invariably looks awful. Is ...
0
votes
2answers
141 views

Software for batch renaming of images [closed]

I have a bunch of images downloaded from the web. I kept their original file names when I saved them. Now I would like to reorder these images and have them renamed in a pattern like this: ...
0
votes
1answer
1k views

How to create long file names

I am trying to create file names that are longer than 260 charcters so that I can test some software. Does anyone know of a way to create a file name / folder combination that is greater than 260 ...
3
votes
1answer
278 views

Auto include save date in filename?

Can I set an option to automatically include the save date in an MSWord filename?