LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File name containing "/" (https://www.linuxquestions.org/questions/linux-newbie-8/file-name-containing-124613/)

jse580 12-10-2003 12:09 PM

File name containing "/"
 
I have samba server sharing files with both XP and OSX clients. One of my OSX users is complaining that she cannot use a "/" in her file names. I guess this is permited on a mac. The problem is she is trying to copy a large number of existing files from the mac onto the samba file server. Does anyone have any suggestions as to how I could resolve this either with a script or some other method.

Thanks

Tinkster 12-10-2003 12:26 PM

Not possible on the receiving end. And as
for the normal MacOs, I don't know what
kind of scripting tools there are.


Cheers,
Tink

Nimoy 12-10-2003 12:29 PM

Don't know if this could help you change the filenames and then transferring them!

Mac OS X

Product Description: NMEasy
This application was developed to provide a useful tool that would otherwise require complex UNIX command line operations. It enables the user to change multiple file names using a controlable set of options.

FEATURES
* Change the prefix of filenames by adding your text * Add and control zero's used in the file name to keep files standardized in lists. eg. Example0001.jpg * Change the suffix of filenames by adding your text * User sort and control of the order of files prior to running the changes.

• Download NMEasy (File Size: 552k)

http://www.versiontracker.com/dyn/moreinfo/macosx/21438

When renaming there are many characters that should be avoided!

Characters for file/directory names in Unix [OSX] should be: a-z, A-Z, 0-9, and underscore "_".

Do not use space and other symbols [!@#$%^&*()_+-={}[]:;""<>?,./\|]. It could land you in trouble... but I guess you already found out!

File name extention
Unix [OSX]: Long name and long (more than 3 chars) extension, multiple dots "." are OK.
Extension is the only way to distinguish file type.
MacOS: Use extension as far as possible for easy catetorization of files. Change your habit.
Windows: Show extension and understand it. There is no creator/filetpe information but extension (free to change).

Privilege - Unix [OSX] can control access privilege. Write/Reade/eXecute privilege is set for Owner, Group, Guest. MacOS has privilege control only for AppleShare. Subdirectories under /Users/youhome/GMT341/ are not Writable. Logging in as root, or su, Writing becomes possible.

Hope this was of assistance

Nimoy 12-10-2003 12:38 PM

And then there is

Change Many Files by Editing Just One
by Jerry Peek
02/24/2000

About The diff command at

http://linux.oreillynet.com/pub/a/linux/lpt/33_06.html

jse580 12-10-2003 12:40 PM

Thanks,

Sounds like that may be helpful

Nimoy 12-10-2003 12:46 PM

File buddy might be the answer - I noticed the above was only for version control work.. been at work too long grrrr!!! ;)

http://www.skytag.com/filebuddy/overview/FB.html

Yes there is a price tag 37 US$... but if it's important enough....

• View and edit a wide range of file and folder information in the info window.
• See how many files and folders are in a folder or on entire volumes (Finder's Get Info window provides this information in Mac OS 9, but not in Mac OS X).

• Create droplet applications that automatically apply changes to items dropped on them, including the contents of folders. <-------- SEE THIS, you could probably create a droplet that changes the filenames

• Find files and folders using an extensive set of search criteria. Conveniently perform a wide variety of actions on found items. In Mac OS 9, make File Buddy your default file finding application using the File Buddy CP control panel.

Nimoy 12-10-2003 12:49 PM

Hah... File Buddy 7.5 is commercial software which is fully functional for the duration of the 30-day trial period. SO YOU COULD TRY IT NOW FOR FREE, and if it's good you can purchase the program

Nimoy 12-10-2003 12:57 PM

Btw - http://osx.hyperjeff.net/Apps/apps.php?p=14&sub=15 is an osx software site with quite a few utilities etc. check it out


All times are GMT -5. The time now is 05:27 PM.