0
votes
2answers
48 views

Is there any limitation on file names under Unix?

We are using crontab to schedule jobs and it was not picking the files for processing that contain [ or ] or ¿. Is there any limitation on file names or do these characters mean something in UNIX? ...
0
votes
4answers
184 views

bash - directories ending in . and whitespace cannot be removed

On my external hard drive are two directories, Fun. and Complex_, where that _ is a whitespace. I cannot empty from my trash or remove them with rm -rf and I want to. Neither show up in Finder on ...
2
votes
3answers
435 views

Can I rename a file that contains a forward slash in Unix?

I am trying to rename a file with a name that contains the "/" character. Example: mv product.dat product/2012.dat Is this possible in Unix?
0
votes
1answer
36 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?
5
votes
2answers
936 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 #?
0
votes
3answers
147 views

what's a unix command which will output a list of files in a folder to a text file?

I'm on a Mac with OSX 10.5. I'm using tcsh but I could use bash if it'd help
3
votes
3answers
966 views

What are files/directories naming conventions in linux?

Is this_option more common than thisOne?
0
votes
4answers
2k views

Unix: Search and replace in file names

Using sed, I can search and replace text in a file. Is there a way I can do search and replace of filenames? For example if I have a bunch of files in a folder with names like these: foo01 foo02 ...
3
votes
3answers
2k views

Replace spaces in file names from cmd line unix

Hi I have a bunch of files with spaces in the name, is there a way to mv them to new files without spaces in. For example I have the file Hello World.pdf I want to move it to Hello_World.pdf. ...
1
vote
6answers
889 views

Is there a POSIX pathname that can't name a file?

Are there any legal paths in POSIX that cannot be associated with a file, regular or irregular? That is, for which test -e "$LEGITIMATEPOSIXPATHNAME" cannot succeed? Clarification #1: pathnames By ...