Networked Drives and Symbolic Links in Mavericks

So I have tried this a few times on my own... and I ended up deleteing all my contect with sudo in terminal.....  I have everything restored now... but before I proceed, i thought I would get some help from those that know alot more...
Here is the scenario..  I have a MBP Late 2013 with mavericks installed..  I have a Networked drive at smb://192.168.1.1/  that is mounted and and accessable through finder no problem, and I have it set to reconnect at login so its always there....  there is no permissions for the networked drive its accessable to everyone...  I want to take my itunes music and put it on the networked drive at smb://192.168.1.1/Music and have itunes access it from there like it was on the local drive....  so I started reading up on symbolic links
I have had no luck with ln -s in terminal, i keep getting told the directory doesnt exist... this is the exact line i have been triying  [ln -s smb://192.168.1.1/Music ~/Music/iTunes/iTunes Media/Music]  i thought it may have been a permission issue hence my ussage of sudo... but because of my ignorance I just ended up deleting everything..... what am i missing or doing wrong...  someone please help!
Anthony

Just for some clarification...
A simple saying that someone told me ages ago...   "root is God"
When you use the sudo command you are doing the command as root.  The "rm" command means remove,  the "-r" means that you want the command to be done recursively so it will do the same command in any nested folders, and the "f' means to force the command..  even if it has any errors or is a file that root knows that you shouldnt do a command on..
So basically you told god to remove everything in your music folder, no matter how deep its nested, even if doing so would be immoral and against gods better judgement.

Similar Messages

  • I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.

    I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.  I can delete other files but several XLS files are giving me this message.

    You said it was a network drive.  So is someone else on the network using that same file or may have have left with excel still accessing it on their system?

  • Hi everyone... i by mistakely installed windows 8.1 in c drive and formatted mac os mavericks... what should i do

    hi everyone... i by mistakely installed windows 8.1 in c drive and formatted mac os mavericks.. i want to install mac os x again ...
    What should i do

    Try to b boot into the Recovery volume (boot with the Command + R keys held down). If you can you can select Disk Utility to erase the hard drive and then reinstall Mavericks.

  • Network drives and System Update updating itself (Error 1327.Invalid Drive)

    I have a Windows network share permanently mapped as a network drive on my system. This prevents Lenovo System Update 5 from updating itself.
    Here is what happens:
    Launch Lenovo System Update and click Next to look for updates.
    When 'Searching for agent updates' it will tell me: 'System Update is updating itself. Your copy of System Update needs to be updated. Click OK to begin updating System Update.'
    Click OK, Lenovo System Update will download the update and appear to install it.
    At the end it will tell me: 'System Update was installed successfully'
    Click Close, just to be sure I wait for a while so System Update can finish whatever it is doing in the background (if anything at all).
    When nothing appears to happen I launch Lenovo System Update manually and it will tell me it needs to update itself again, and go to the same process as above. The update did not install successfully at all. System update keeps updating itself in a loop.
    Next thing I tried is manually downloading the latest System Update version from http://support.lenovo.com/en_US/detail.page?LegacyDocID=TVSU-UPDATE
    I downloaded systemupdate503-09-17-2013.exe for my Windows 7 machine.
    The installer detects to old version of System Update and offers to uninstall that. I click Yes.
    A moment later the real error appears: 'Error 1327.Invalid Drive: S:\'
    The only thing I can do now is press OK to close the installer.
    The S:\ drive is my network drive which is permanently mapped to a share on my NAS.
    It is not an invalid drive, S:\ opens fine in Windows Explorer.
    I don't know why the System Update installer wants to access my S: drive in the first place. All my applications are installed on C:. While I did move some special folders like My Pictures and My Videos to S:, the relevant folders My Documents and Desktop are still on C:.
    I have found a workaround to the problem above:
    Close Lenovo System Update completely when it says it needs to update itself.
    Run Command Prompt as Administrator (find it in the start menu, righ-click it and 'Run as administrator').
    Type 'subst s: c:\' without the quotes. Replace s: with the drive letter of your network drive, and c: should be an existing regular drive.
    Now run Lenovo System Update again and let it update itself.
    You'll notice System Update now restarts itself after updating and there are no problems.
    Once you are done with System Update, type 'subst s: /D' to delete the substituted virtual drive. Don't worry, this will not delete your actual network drive.
    The workaround does the job, but it would be nice to see an actual fix from Lenovo. I have a ThinkPad X230 running 64bit Windows 7 Professional if this is relevant.

    Please try either of the workaround.
    1. Create a new Admin user, log on in that and then you can install Adobe Reader,
    or
    2. easier solution is just create a dummy folder on your machine anywhere, lets says Folder name "Dummy"  in c:\
    not go to command prompt
    and type subst I: c:\dummy
    and you are all set to go.
    once you are done, you can remove that virtual drive mapping by
    subst I:\  /d
    please let me know if works.

  • Store music on a network drive and access from different computers

    hi!
    i have several mac's and windows pc's here and a windows server. i want to store my music on the server and let all itunes' access the same library to have ratings etc. all the same on all machines.
    when i set the itunes folder to my network drive and open itunes it does not find any of my music.
    my next idea was to run itunes on the server and to use the music sharing function but my macs can't access the windows itunes library because of some error -3259. my windows itunes can access the windows itunes without problems, the imacs itunes can't
    anyhow its a bad solution when i have to sync my ipods with the server since this one is in the basement
    does anybody know something about itunes libraries on a network drive ?
    thanks a lot
    philip

    Hi !
    Did nobody has developed a kind of sync tool yet ? Its interesting to know that the library is always stored locally. I think it should be possible then to copy the library from one computer to all others only the network name must be the same on all computers.
    I'll try it

  • I am new to mac.  Do I need to store photos on the hard drive to use iPhoto or can I store pics on a network drive and still edit with iPhoto?

    I am new to mac.  Do I need to store photos on the hard drive to use iPhoto or can I store pics on a network drive and still edit with iPhoto?

    iPhoto needs to have the Library sitting on disk formatted Mac OS Extended (Journaled). Users with the Library sitting on disks otherwise formatted regularly report issues including, but not limited to, importing, exporting, saving edits and sharing the photos.
    See this article
    http://support.apple.com/kb/TS5168
    for more. Note also the comment:
    “Additionally, storing the iPhoto library on a network rather than locally on your computer can also lead to poor performance or data loss.”

  • Networked drive and files

    At work i have the common scenario, my "personality" and documents are all stored on a network drive. I.e. everything i do is off of the network drive. Its backed up. I'm trying to figure out what the best way is to do things. symbolic link v. rsync (etc.) backup.
    The goal is to have the documents be able to be spotlighted, but yet backed up. Problem, documents have to be local to be spotlighted in SL or anything else and they are not backed up on my mac, only on network drive. Thoughts. Right now rsync seems to work best (as opposed to symbolic linking) but is kinda primitive. Essentially, all of my data is just backed up once a day to the network drive with a rsync script. That way if i'm off site i can access the files from another computer on the network and just email myself the updated doc and save it on the local machine and have it backed up at the end of the day. Primitive, yes, works barely. Thoughts?

    Chronosync might be a good solution for you instead of rsync. It is very flexible and has its own
    built in backup scheduler. It can configured just about any way you can dream up.
    http://www.econtechnologies.com/pages/cs/chrono_overview.html
    Kj ♘

  • Network Drives and Time Machine

    How do I get Time Machine to see and connect to a network drive such as an Iomega Nework backup device? The drive is visible in Finder but when I try to configure Time Machine it is not visible as a backup device drive. Can someone please tell me whether Time Machine work with network drives or only as a USB drive?

    Hi
    I just got my NAS to work with Time Machine.
    Follow the instructions in this link http://www.readynas.com/?p=253
    Be aware that is a long process especially if you don't have 1000T network and you start from scratch.
    The same tasks with Hdiutil can be achieved directly with disk utility through the graphic interface assuming you know which settings have to be used (Journalled, Sparsebundle, Simple Apple Partition)
    Good luck

  • Creating a file in network drive and WEB server.

    Hi
        I tried to create and place a text file in network drive(a folder in a system other that MII
    server which is neither FTP nor a webserver) it did not work.while running the transaction using write file action block it throws an error (Authentication failed,Provide valid usermane and password).  Is there a way to get the list of files present in the same folder(a folder in a system other that MII server).but i could able to create a file manually.Please help me in this Regard.
    Thanks,

    Hi Nagireddy,
    this topic is covered in several threads here. Try the following link to a thread where there is much information:
    [https://forums.sdn.sap.com/click.jspa?searchID=19476763&messageID=6478362]
    Michael

  • WD network drive not detectable after installing Mavericks!!

    I just installed OS X Mavericks on my mid-2009 MacBook Pro at the suggestion of a genius at the bar, as a cure for the relentless spinning beach ball on my screen.  I bought a new portable drive then and there and backed up my computer before the installation.  
    However, virtually ALL of my data is stored on a WD network drive (WD netcenter - legacy product) and since the Mavericks installation I can not access the drive - it does not show up in the finder, and it is not visible in disk utility.   When I click on my sidebar folders, the message is "there was a problem connecting to the server "wd-netcenter".
    I found some discussions about Mavericks corrupting external drives, and then read about the need to update WD drive managers.  So I downloaded the new WD drive manager from the WD website, however I still cannot see the drive.  I have also restarted both my MacBook and the drive.
    Can anyone help ?   
    thank you. 

    So I found my original installation disks and tried to erase the hard drive and re-install but was blocked!
    the installation is "not supported"...
    seems there are ways to get around this, however it's too risky for me to mess with it. 
    none of my network drive's startup applications seem to be supported by mavericks.  I will take your advice and try to find another mac with snow leopard to see if I can access the drive.  I have also contacted western digital for support.   thanks for your help.

  • The dangers of robocopy and symbolic links

    I was backing up a laptop to a USB drive overnight, using robocopy to copy the directory structure of C:\Users on a Win 7 Pro build. The process ran all night. By the next morning, the copy had failed due to insufficient space on the drive. The data being
    backed up was only 120 GB and the drive was an empty 500 GB. According to the log, the process only made it about 20% of the way before it got caught in an endless loop of copying the C:\Users\<username>\Application Data link. I had forgot to include
    the /xjd switch in the job file it seems.
    Unfortunately, now I am unable to delete the "Application Data" folder as I get a "...filenames are too long for the destination folder..." error. Upon inspection, the folder appears to point to itself, creating a seemingly endless subdirectory
    tree. I've tried manually deleting parts of the directory structure through cut, paste and delete operations but I gave up after 2 hrs. I then tried writing a batch script using robocopy to mirror an empty folder, hoping that would remove the "Application
    Data" folder, but that too fails after a few minutes once the directory path gets too long.
    I've checked online but haven't been able to find any tool which would allow me to delete the circular link that was created by robocopy. Does anyone have suggestions on how to remove this file structure besides formatting the drive?

    From all the other threads I've read, I'm beginning to realize this just isn't an option with this O/S.
    Thanks for the help and suggestions.
    I got intrigued by this problem, then spent a couple of hours on finding a solution. You can use the batch file below to deal with your circular folder. It will deal with any folder, no matter how deep.
    @echo off
    goto Start
    This batch file will delete circular directories that are 
    created by robocopy.exe when used without the /XJ switch.
    The batch file will warn you before it deletes any folder.
    Pressing Ctrl+C will terminate it.
    Usage: rdd "Folder Name"
    22.3.2013 FNL
    :Start
    set msg=
    if [%1] EQU [] goto Error
    if [%2] NEQ [] goto Error
    goto Initial
    Initial checks:
    - Is this an elevated command prompt?
    - Does the user want to proceed?
    - Does the folder exist
    :Initial
    set r=%random%
    for /F "delims=" %%a in ('echo %1') do set Stripped='%%~a'
    set msg=You must execute this batch file under elevated privileges.
    dir \ 1> %SystemDrive%\%r%.txt 2>nul || goto Error
    del %SystemDrive%\%r%.txt
    set msg=Folder %Stripped% not found
    pushd %1 2>nul || goto Error
    set msg=Exiting
    set /p reply=About to delete the folder %1. Go ahead? (Y/N) 
    if /i not "%reply%"=="Y" goto Error
    set Level=0
    for /F %%a in ('dir /b \RDD_Folder* 2^>nul') do rd \%%a
    set Args=WScript.Arguments
    echo WScript.Echo Left(%Args%(0), InStrRev(%Args%(0), "\")-1) >"%temp%\rdd.vbs"
    goto Loop1
    Create a number of junctions to various points
    inside the circular directory tree.
    Prerequisite: mklink (exists under Windows 7)
    :Loop1
    for /F "delims=" %%a in ('dir /b /s 2^>nul') do set FullPath=%%a
    if "%FullPath:~200,4%" EQU "" (echo. & goto Loop2)
    for /F "delims=" %%a in ('cscript.exe //nologo "%temp%\rdd.vbs" "%FullPath%"') do cd "%%a"
    set msg=Unable to create junction.
    set /a Level=%Level%+1
    echo Creating junction \RDD_Folder%Level%
    mklink /d \RDD_Folder%Level% "%CD%" > nul|| (popd & goto Error)
    cd "\RDD_Folder%Level%"
    goto Loop1
    Delete the circular folders, working from
    the inside to the outside, then delete the
    symbolic links.
    :Loop2
    for /f "delims=" %%a in ('dir /b "\RDD_Folder%Level%"') do set ToDelete="\RDD_Folder%Level%\%%a"
    echo Deleting %ToDelete%
    pause
    rd /s /q %ToDelete%
    rd \RDD_Folder%Level%
    set /a Level=%Level%-1
    if %Level% NEQ 0 (
      cd \RDD_Folder%Level%
      goto Loop2
    popd
    echo Deleting %1
    pause
    rd /s /q %1
    goto :eof
    Error exit
    :Error
    echo.
    if "%msg%"=="" set msg=Usage:  rdd  "FolderName"
    echo %msg%

  • Network drive and iTunes libraries

    I added a NAS and successfully relocated my iTunes library to it. I purchased a few songs and verified that they were being saved to the NAS rather than my local drive. I then dragged some iPhone video clips from iPhoto into the home movies tab of iTunes as well as purchased some additional content only to find that it has reverted to storing new things back to my local drive. I went back to preferences, changed the media folder location back to the network drive.
    My question is, iTunes now looks to 2 libraries, how can I merge the two?

    Jolly Giant wrote:
    the link above (CCC FAQ) says:
    *Can I back up directly to an AFP or SMB network file share? How about to a Time Capsule?*
    CCC can back up directly to an HFS+ formatted local volume, or to a disk image on any writable network volume. CCC cannot, however, backup directly to a network filesystem (e.g. AFP, SMB, CIFS, NAS, Airport Extreme "Airdisk", or Time Capsule). There are significant technical limitations to backing up an HFS+ filesystem to a non-HFS+ filesystem -- most notably preservation of ownership and permission information -- that would make it impossible to create a faithful, bootable, non-proprietary backup of your data. Therefore I recommend and support backing up only to a disk image on non-HFS+ filesystems.
    JGG
    Thank u for reporting that. Looks like the only option is going "old style": attach the drive directly to the mac and make a copy and paste of the data on the TC capsule drive. Thanks again.

  • I have an iPod Touch but I currently don't have a PC.  I found an app that would allow me to connect to my network drive and I was able to transfer music files to it.  These files do not show under the Music app and I can't find any way to do it.

    I need help from some Apple people. I have an iPod Touch and I wanted to load it up with some fresh music but I currently don't have a PC. I found an app that would allow me to connect to my 2TB network drive directly and I was able to transfer a bunch of music files to the iPod. Unfortunately, these new files do not show under the Music app and I can't seem to find any way to convince the iPod that they are music. I can play them through the file manager only. Android doesn't have this problem, any music I put on my phone is recognized as music and can be played through any of the music apps. Am I missing something or is Apple to inflexible to handle this?

    You can't. The only way to get songs in the Music app is to sync from a computer or to download from iTunes.

  • Network drives and time machine with Lion

    Since upgrading to Lion my MyBookWorld network drive is no longer working with time machine.  The drive is recognised as being there by finder and time machine but when I try and connect to it as registered user there is a warning saying  There was a problem connecting to the server "MyBookWorld.Local". This drive was working fine until I upgraded to lion.  There is no new firmware from Wesern Digital for the disc.  It looks like that will be the solution.  does anyone have any idea when that may be forthcoming?

    Please follow these instructions:
    Lion: Connecting to legacy (pre-Lion) AFP services - and Mac OS X (server):
    https://discussions.apple.com/thread/3258472

  • Network Drives and Bugs - A Word of Caution

    A couple of weeks ago I replaced my trusty Buffalo 802.11b/g wireless router with an AirPort Extreme Base Station so that I could set up a network drive using a 500GB USB hard drive attached to the AEBS, which was considerably less expensive than buying a dedicated network drive/file server appliance.
    Yesterday my Apple TV lost its network connection for no apparent reason and I was unable to reconnect it. After resetting both the Apple TV and the AEBS I still could not establish a connection due to an "incorrect password" that was not incorrect. After re-entering the same password again into the AEBS and then the Apple TV I could finally reconnect. I would think that this problem would be attributed to a software bug in either the AEBS or the Apple TV.
    During the re-syncing process I started getting error messages that iTunes could not find many of my files. It turns out that iTunes could only find files that were imported into it after I moved the library to the network drive. Files that had been imported prior to the network drive had to re-imported back into iTunes before it would recognize the correct file path for these files even though the correct file path to the network drive was specified in the iTunes Preferences.
    It appears that iTunes was not automatically checking the library path specified in the Preferences settings for the files it couldn't find, possibly the result of another bug in iTunes.
    iMac Mac OS X (10.4.9) The more I think, the more I think I shouldn't think more.

    In any case, it
    shouldn't matter whether the files were pre-loaded or
    copied over the network as long as the files are
    actually on the drive and the specified file path is
    correct.
    The file path specified in Preferences > Advanced > General just specifies where the iTunes Music Folder is located, not the path to any particular media file, which could be anywhere. Changing this preference affects all future files imported into the Music Folder but not those already in the iTunes library. IOW, this is more like a default location than a global file path.
    The library file is a database stored on the local drive in ~/Music/iTunes/iTunes Library. It contains the iTunes metadata reference record for each media file, among other things. There is also an iTunes Music Library.xml file in the ~/Music/iTunes/ folder, used by other applications. (See What are the iTunes library files? for more about this.)
    The content of these files is maintained by the iTunes app, not the file system. So if you manually move your iTunes Music Folder to another location (IOW, not through the application), the database may not be updated properly, leading to error messages because the file path info may be wrong.
    To avoid this, you should follow the procedure described in iTunes for Mac: Moving your iTunes Music folder or iTunes for Windows: Moving your iTunes Music folder.
    I believe ... the lost files in iTunes may be the
    result of software bugs in iTunes, Apple TV
    and/or AirPort Extreme.
    For this much at least, the "bug" is in your expectation of what setting the iTunes preference does, not in the operation of the application itself. It may or may not have anything to do with your other problems, of course.

Maybe you are looking for