Include all sub-directories and files?
I did search, so don't complain that this has been asked a billion times.
I am using Automator to replace text for files and folders. But this only works with the files and or folders I select, it doesn't do it with the sub-directories and sub-files. How can I config. Automator to do this?
Thanks.
The various actions operate on whatever is input to them. If you are referring to the *Rename Finder Items* action, you can use the *Get Folder Contents* action to go into sub folders, but be careful, since this action will go into bundles/packages such as applications and RTFD files.
Similar Messages
-
List all files in a directory, not including the sub directories if any
Hi,
I have been looking around php.net for a bit and can not work
out how i list the files that are in a directory i.e.
www.site.com/directory/
I would like the names of each file to be placed in an array,
but not to have the sub directories in this list should there be
any.
I was given some code a while ago that done this but it
listed the sub directories and i would like them not in this list.
I do not have this code anymore and do not know where i got
it, so i can not get it amended to what i need.
please can someone tell me what line of code i should be
using.
thank you in advance for your help.(_seb_) wrote:
> not very clever wrote:
>> Hi,
>>
>> I have been looking around php.net for a bit and can
not work out how
>> i list the files that are in a directory i.e.
>>
>> www.site.com/directory/
>>
>> I would like the names of each file to be placed in
an array, but not
>> to have the sub directories in this list should
there be any.
>>
>> I was given some code a while ago that done this but
it listed the
>> sub directories and i would like them not in this
list.
>>
>> I do not have this code anymore and do not know
where i got it, so i
>> can not get it amended to what i need.
>>
>> please can someone tell me what line of code i
should be using.
>>
>> thank you in advance for your help.
>>
>>
>>
>
> The follwoing PHP code will do just that. Just replace
"pathToFolder"
> with the path to your folder.
> I made the list of files also link to each file. Just
remove the link
> echo if you don't them to be links.
>
> <?php
> // FUNCTION TO LIST FILES:
> function listFiles($path){
> if($handle = opendir($path)){
> while(false !== ($file = readdir($handle))){
> if (is_file($path.'/'.$file) &&
!preg_match('/^\./',$file)){
> $files_array[]=$file;
> }
> }
> }
> return($files_array);
> }
> $path = 'pathToFolder';
>
> // CALL THE FUNCTION:
> $files_array = listFiles($path);
> foreach($files_array as $file){
> echo '<p><a
href="'.$path.'/'.$file.'">'.$file,'</a></p>';
> }
>
> ?>
>
I spotted one error:
foreach($files_array as $file){
echo '<p><a
href="'.$path.'/'.$file.'">'.$file,'</a></p>';
should be:
foreach($files_array as $file){
echo '<p><a
href="'.$path.'/'.$file.'">'.$file.'</a></p>';
(a dot after $file, not a coma)
seb ( [email protected])
http://webtrans1.com | high-end web
design
Downloads: Slide Show, Directory Browser, Mailing List -
I have formatted my computer's HD because of a problem with Windows 7, the thing is that Windows 7 didn't start, so I couldn't backup my Firefox settings, bookmarks, plugins, themes, personas and etc. the right way.
I also don't have a Firefox Sync account.
What I do have are all the folders and files of Firefox, because I just created a new partition and installed Windows 7 again, what I'm having trouble is finding a way (if there's any) to restore everything from my previous installation to the new one.
I have searched for days on both Google and on te Firefox forum with no success, the only questions I found are about restoring a profile, but what I'm trying to do is the same thing that the Firefox add-on " FEBE " does, which is restoring everything to the previous configuration.
Here's alink to the add-on: https://addons.mozilla.org/pt-br/firefox/addon/febe/
I have tried copying, pasting and overwritting from the " .default " folder to my new installation of Firefox (yes, Firefox was closed), but when I opened it again, nothing was restored.
I every single folder and file Firefox ever created on my computer, this includes the installation folder (at Program Files), the profile (.default at AppData) folder, the Mozilla folder (ProgramData) and the Mozilla Firefox folder (also at AppData).
I also had the FEBE add-on installed, but like stated before, unfortunately I couldn't start Windows 7, forcing me to create a new partition to install a new copy of the OS.
Thanks in advance.
PS. Sorry if I made the text too long and/or if I mentioned the same things twice, just trying to be thorough.Hi Sdarts,
I apologize for the delay in replying to your question, and I am sorry to hear that you are having issues restoring your Firefox user data.
Please see the following article, which explains how to restore your Firefox user data using a previously backed up Profiles folder, which seems to apply to your situation:
* [https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles Backup and Restore information from Firefox Profiles]
Please let us know if this solves your problem or if you have any questions.
Thanks!!
- Ralph -
FM to get list of all directories and files on application server..
Hi All,
Can anyone tel me FM to get list of all directories and files on application server..i know 'F4_DXFILENAME_TOPRECURSION'
and '/SAPDMC/LSM_F4_SERVER_FILE' these are working too...but my requirement is when i click F4 i should get list of directories and whn i select one of these the only directory name should display.....and whn click again for 2nd text box field i want file name ...means directory name in one text box field and file name in another....plz help me out..
helpful answers wil b awarded.
Thanks,
JayshreeHi Jayashree
Please check this FM, SUBST_GET_FILE_LIST. Pass the file path and file name, if it returns an entry in table FILE_LIST, then the filename and path are valid.
Hope this helps !
~ Ranganath -
How to loop folder , sub folder and files in the sql server ?
Hi,
I have a folder , sub folder and files like this.
Here AuditSearchHistory fixed folder and contains 2 subfolders , but some times it may contain more sub folders also.
Please help me to loop the subfolders to get xls files in the sql without SSIS , Because I need to get just xls file paths.
Thank you.Please run these Macros in Excel.
Sub TestListFilesInFolder()
' Open folder selection
' Open folder selection
With Application.FileDialog(msoFileDialogFolderPicker)
.Title = "Select a Folder"
.AllowMultiSelect = False
If .Show <> -1 Then GoTo NextCode
pPath = .SelectedItems(1)
If Right(pPath, 1) <> "\" Then
pPath = pPath & "\"
End If
End With
NextCode: 'MsgBox "No files Selected!!"
'Application.WindowState = xlMinimized
'Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the file list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Range("A2")
.Formula = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Range("A3").Formula = "File Name:"
Range("B3").Formula = "File Size:"
Range("C3").Formula = "File Type:"
Range("D3").Formula = "Date Created:"
Range("E3").Formula = "Date Last Accessed:"
Range("F3").Formula = "Date Last Modified:"
Range("A3:F3").Font.Bold = True
Worksheets("ListOfFiles").Range("A1").Value = pPath
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
ListFilesInFolder Worksheets("ListOfFiles").Range("A1").Value, True
' list all files included subfolders
Range("A3").Select
Lastrow = Range("A1048576").End(xlUp).Row
Range(Selection, Selection.End(xlToRight)).Select
Range(Selection, Selection.End(xlDown)).Select
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Clear
ActiveWorkbook.Worksheets("ListOfFiles").Sort.SortFields.Add Key:=Range( _
"B4:B" & Lastrow), SortOn:=xlSortOnValues, Order:=xlDescending, DataOption:= _
xlSortNormal
With ActiveWorkbook.Worksheets("ListOfFiles").Sort
.SetRange Range("A3:F" & Lastrow)
.Header = xlYes
.MatchCase = False
.Orientation = xlTopToBottom
.SortMethod = xlPinYin
.Apply
End With
Range("A1").Select
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Range("A1").Select
End Sub
Sub ListFilesInFolder(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the files in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim FileItem As Scripting.File
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
r = Range("A1048576").End(xlUp).Row + 1
For Each FileItem In SourceFolder.Files
' display file properties
Cells(r, 1).Formula = FileItem.Path & FileItem.Name
Cells(r, 2).Formula = (FileItem.Size / 1048576)
Cells(r, 2).Value = Format(Cells(r, 2).Value, "##.##") & " MB"
Cells(r, 3).Formula = FileItem.Type
Cells(r, 4).Formula = FileItem.DateCreated
Cells(r, 5).Formula = FileItem.DateLastAccessed
Cells(r, 6).Formula = FileItem.DateLastModified
' use file methods (not proper in this example)
r = r + 1 ' next row number
Next FileItem
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFilesInFolder SubFolder.Path, True
Next SubFolder
End If
Columns("A:F").AutoFit
Set FileItem = Nothing
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Option Explicit
Sub CreateList()
Application.ScreenUpdating = False
Workbooks.Add ' create a new workbook for the folder list
' add headers
ActiveSheet.Name = "ListOfFiles"
With Cells(3, 1)
.Value = "Folder contents:"
.Font.Bold = True
.Font.Size = 12
End With
Cells(4, 1).Value = "Folder Path:"
Cells(4, 2).Value = "Folder Name:"
Cells(4, 3).Value = "Folder Size:"
Cells(4, 4).Value = "# Subfolders:"
Cells(4, 5).Value = "# Files:"
Range("A3:E3").Font.Bold = True
ListFolders BrowseFolder, True
Application.ScreenUpdating = True
Cells.Select
Cells.EntireColumn.AutoFit
Columns("A:A").Select
Selection.ColumnWidth = 100
Columns("B:B").Select
Selection.ColumnWidth = 25
Range("A1").Select
End Sub
Sub ListFolders(SourceFolderName As String, IncludeSubfolders As Boolean)
' lists information about the folders in SourceFolder
Dim FSO As Scripting.FileSystemObject
Dim SourceFolder As Scripting.Folder, SubFolder As Scripting.Folder
Dim r As Long
Set FSO = New Scripting.FileSystemObject
Set SourceFolder = FSO.GetFolder(SourceFolderName)
' display folder properties
Worksheets("ListOfFiles").Range("A1").Value = SourceFolderName
Range("A1").Select
With Selection.Interior
.Pattern = xlSolid
.PatternColorIndex = xlAutomatic
.Color = 65535
.TintAndShade = 0
.PatternTintAndShade = 0
End With
With Selection.Font
.Color = -16776961
.TintAndShade = 0
End With
Selection.Font.Bold = True
r = Cells(Rows.Count, 1).End(xlUp).Row + 1
Cells(r, 1).Value = SourceFolder.Path
Cells(r, 2).Value = SourceFolder.Name
Cells(r, 3).Value = SourceFolder.Size
Cells(r, 3).Value = (SourceFolder.Size / 1048576)
Cells(r, 3).Value = Format(Cells(r, 3).Value, "##.##") & " MB"
Cells(r, 4).Value = SourceFolder.SubFolders.Count
Cells(r, 5).Value = SourceFolder.Files.Count
If IncludeSubfolders Then
For Each SubFolder In SourceFolder.SubFolders
ListFolders SubFolder.Path, True
Next SubFolder
Set SubFolder = Nothing
End If
Columns("A:E").AutoFit
Set SourceFolder = Nothing
Set FSO = Nothing
ActiveWorkbook.Saved = True
End Sub
Or . . .
Const BIF_RETURNONLYFSDIRS As Long = &H1 ''' For finding a folder to start document searching
Const BIF_DONTGOBELOWDOMAIN As Long = &H2 ''' Does not include network folders below the domain level in the tree view control
Const BIF_RETURNFSANCESTORS As Long = &H8 ''' Returns only file system ancestors.
Const BIF_BROWSEFORCOMPUTER As Long = &H1000 ''' Returns only computers.
Const BIF_BROWSEFORPRINTER As Long = &H2000 ''' Returns only printers.
Const BIF_BROWSEINCLUDEFILES As Long = &H4000 ''' Returns everything.
Const MAX_PATH As Long = 260
Type BROWSEINFO
hOwner As Long
pidlRoot As Long
pszDisplayName As String
lpszINSTRUCTIONS As String
ulFlags As Long
lpfn As Long
lParam As Long
iImage As Long
End Type
Declare Function SHGetPathFromIDListA Lib "shell32.dll" (ByVal pidl As Long, ByVal pszBuffer As String) As Long
Declare Function SHBrowseForFolderA Lib "shell32.dll" (lpBrowseInfo As BROWSEINFO) As Long
Function BrowseFolder() As String
Const szINSTRUCTIONS As String = "Choose the folder to use for this operation." & vbNullChar
Dim uBrowseInfo As BROWSEINFO
Dim szBuffer As String
Dim lID As Long
Dim lRet As Long
With uBrowseInfo
.hOwner = 0
.pidlRoot = 0
.pszDisplayName = String$(MAX_PATH, vbNullChar)
.lpszINSTRUCTIONS = szINSTRUCTIONS
.ulFlags = BIF_RETURNONLYFSDIRS
.lpfn = 0
End With
szBuffer = String$(MAX_PATH, vbNullChar)
''' Show the browse dialog.
lID = SHBrowseForFolderA(uBrowseInfo)
If lID Then
''' Retrieve the path string.
lRet = SHGetPathFromIDListA(lID, szBuffer)
If lRet Then BrowseFolder = Left$(szBuffer, InStr(szBuffer, vbNullChar) - 1)
End If
BrowseFolder = BrowseFolder & "\"
End Function
Knowledge is the only thing that I can give you, and still retain, and we are both better off for it. -
How to trace changes in directories and files in windows using java.
Hi,
Want to know how to trace changes in directories and files in windows using java.
I need to create a java procedure that keeps track of any changes done in any directory and its files on a windows System and save this data.
Edited by: shruti.ggn on Mar 20, 2009 1:56 AMchk out the bellow list,get the xml and make the procedure.....
Notes
1 Some of the similar softwares include HoneyBow, honeytrap, honeyC, captureHPC, honeymole, captureBAT, nepenthes.
2 Some of the other hacking softwares include keyloggers. Keyloggers are used for monitoring the keystrokes typed by the user so that we can get the info or passwords one is typing. Some of the keyloggers include remote monitoring capability, it means that we can send the remote file across the network to someone else and then we can monitor the key strokes of that remote pc. Some of the famous keyloggers include win-spy, real-spy, family keylogger and stealth spy.
3 Apart from theses tools mentioned above there are some more tools to include that are deepfreeze, Elcomsoft password cracking tools, Online DFS, StegAlyzer, Log analysis tools such as sawmill, etc. -
Process for setting up new directories and files on Unix
I am trying to document a process �Process for setting up new directories and files on Unix batch servers�.
Developer will be developing project on Windows and I need tell them as well as QA team how the Unix directory and file structure.
Please let me know how is the process in Unix on AIX.
If I get some documentation regarding this it will be useful.
Thanks in advance
Regards
Sanwell on unix/Linux/solaris there are no drives but storage heirarchy starts with a root directory represented with ' / '. and all files and directories are created in root directoy like
/usr/local/bin
/export/home/san
etc
also filesystem of unix consists iNodes rathar than FAT entries as in case of Windows.
some basic information is available at
http://www.techonthenet.com/unix/index.php
Regards -
Accessing Dock Sub-Folders and Files
With the implementation of Stacks in Leopard I've noticed that I've lost the ability to access sub-folders and files within folders contained in the Dock. In Tiger I could access any sub-folder or file from the pop-up menu of a folder in the Dock. Using Stacks, I can only access a sub-folder and have its window open.
Does anybody know if there is a way to access the files within the sub-folder without having to open that folder window? I find this a step backward from Tiger as you have to use multiple steps to access a file that may be several folders deep.
Any suggestions would be most welcome.I might also add, what you see as a step back, there is also a step forward here. Before the only method of sorting the folder contents off the Dock without opening a Finder window was by name. Now you have several methods when you switch from opening in arc to grid mode, by clicking once on the stack and changing the mode from automatic to grid. This shows all the stack items then in any sort view you want once grid is selected.
-
I have 2 computers (1 Pc and 1 MAC) and 1 Iphone.The I phone is synchronised with the PC. I want to synchronised it also with my MAC, without erasing all my music and files. Someone can help me to find the answer ?
i have already try the copy/paste thing with the ID of the file "iTunes Music Library.xml" it didn't change a thing. each time I relaunched Itunes, the ID is the first I have in the MAC.
I have more than 5 000 files of music. I don't want to recreate one by one all my playlits.
Many thnaks for your answers.
ConstanceYou can sync iphone with one and only one computer at a time. If you sync to another, it will erase the current content and replace with content form the new computer. There is no way around this.
Put everything on one computer and sync from there.
BTW, you posted in the Home Share forum. Your question seems to have nothing to do with home share. -
Searching Directories and Files in Application Server
Hi All,
I need a function module that will give me all FOLDERS, SUBFOLDERS and FILES in an application server.
So far function modules like RZL_READ_DIR_LOCAl, SUBST_GET_FILE_LIST and EPS_GET_DIRECTORY_LISTING can only work if I specify at least one folder name after the server IP.
I wanted the folder names to be searched dynamically by passing only server IP.
This is for a background program.
Please help
Thanks in advance.
Regards,
LilyDone.
-
Order of directories and files listed by the ls command
Per default, the "ls" command lists directories and non-directories separately in lexicographical order.
Is there a possibility to change that order of listing and sorting?
For example, if I want "ls" to list my directories and files not by name but by change date +per default+ without using any additional options, what will I have to do?
Is there a command or a setting which influcenes "ls"'s order of sorting?I don't think the defaults for ls can be changed as it is a compiled binary located in /bin. Besides compiling your own version of ls, one solution is to add lines such as the following to /etc/profile or (presuming you're using BASH) ~/.bash_profile and opening a new Terminal window:
alias l="ls -l"
alias ll="ls -la"
I have two such lines in my own profile so that when I type "l" followed by the return key I get the output of "ls -l" and issuing "ll" gives me a listing of dot-files, too.
Probably not exactly what you were looking for but it does simplify the command issued at the command line and avoid compiling your own.
hth,
Johnnie Wilcox
aka mistersquid -
i have iphoto 8.1.2 .If i buy and instal iphoto 9.5.1 does that mean that i will loose all my folders and files?
LarryHN wrote:
Unfortunately the facts contradict your opinions - the facts are that Apple has stated that iPhoto can continue to be used and that you can seamlessly migrate form iPhoto to photos - you are telling people to do and not do things based on your personal opinions
Uh, perhaps you should learn to read what was actually written.
What did I tell anyone to do/not do?
What was my "opinion"?
I wrote, "However, note that iPhoto is going away, soon to be replaced soon by the new Photos app".
the facts are that Apple has stated that iPhoto can continue to be used and that you can seamlessly migrate form iPhoto to photos
I never suggested, hinted or stated otherwise...
Are you stating that Apple is going to continue on with iPhoto & it is NOT going to be replaced by the Photos app?
and how does all this help the OP? -
how can I make extra storage on my phone when I have deleted any all data, pictures and files that I couldn't store in a dropbox and not have purchase additional storage?
Purchasing additional storage only applies to iCloud, not to the phone itself. You cannot purchase additional storage for the phone, only purchase a larger capacity phone. If you have deleted all of the content that you can, then that is all of the space that you have. What is it exactly that you are trying to do? Does this have to do with space for performing an OTA update of the iOS?
-
Need to Backup all App's and Files to move to a newer powerbook g4
Apple wants me to send in my p.book mostly due to hot spots on the screen. They said they will have to wipe it clean and may wind up just sending me a new p.book. I don't know if they will just send a refurbished p.book that is the exact same model and version as the obe I have (which is 2.25 years old-purchased Oct. 2003), or if they will send me one of the newer p.books with newer hardware and configuraations such as a different graphics card. (If anyone has any idea on this, please let me know). Anyways, I am a designer and have alot of time-consuming files on my mac. As you may assume, I am quite worried about the idea of wiping my computer clean and relying on a Backup to preserve everything. I don't know much about backup/restore softwre, but I was hoping to do what I have heard referred to as a "Mirror Image" type of backup to my WD 120GB external drive. I want to make this process as easy as possible, and am looking for reccomendations of software that will "clone" my current p.book so that I can simply restore to my new p.book and all my app's will be up and running and executable immediately from the restore without having to re-install all app's. I basically want my new p.book to be exactly the same as my soon to be older one (with all the same settings and configurations that took so long to set up over the years). I have heard of Carbon Copy Cloner and Norton's Ghost. How do Mac users genrally go about this when switching to a new system? I have been using Retrospect Express which comes with Western Digital drives, but one tech at WD told me it is not meant to restore to a different/newer system b/c of things like the graphics card, and other 2.25 year newer hardware that will require different drivers. I am worried that if I restore from the wrong software, many of my devices will not be functional due to different drivers/configurations that were not part of the restore I did. I am pretty sure that this will happen if I use the Disk Utility to create a disk image of my hard drive on my external, and then drag it over to my new p.book b/c this seems like it will erase the new p.book's hard drive including the OS 1st, and then simply darg the disk image onto it (which will include my old OS). Although both OS's I am speaking of will be 10.4 Tiger, the older b.up of Tiger will be configured with drivers for the hardware configurations on th elder p.book, and the newer Tiger on the new p.book (with the appropriate drivers and configurations for the new p.book) will be erases and replaced with innappropriately configured Tiger. Does this make any sense? Or is it actually much simpler than this? As you can see, I have never switched systems b4, and just want to make sure I backup using the right software. Any suggestions?
PS-Since I am missing some of my app. cd's, with Macintosh, are u able to just drag the app. folders and drop them on your new Mac and they are fully executable? In other words, are all Mac compatible programs self contained within their app. folder, and they can be simply dragged and dropped without having to be installed? Or is it that some apps can, and other mac apps have to be installed/restored from b.up software?
Sorry for the long nature of this situation : (
Thanks for any suggestions.
PowerBook G4 Mac OS X (10.4.3)PS-Since I am missing some of my app. cd's, with
Macintosh, are u able to just drag the app. folders
and drop them on your new Mac and they are fully
executable? In other words, are all Mac compatible
programs self contained within their app. folder, and
they can be simply dragged and dropped without having
to be installed? Or is it that some apps can, and
other mac apps have to be installed/restored from
b.up software?
Answer to this: it doesn't work. I tried it; my hard drive started having issues and I did "backups" in this way by dragging and dropping the applications to DVDs. By the time I bought an external HD a couple of days later, I couldn't use my laptop at all anymore, and after replacing the laptop's HD I tried to use the DVDs with copies of the applications. And they did NOT work. Ultimately I only lost a few things--.Mac's Freefall is the only thing that comes to mind right now--but reinstalling all the applications from original disks or from downloads (and tracking down the purchase receipts!) was very time-consuming. Fortunately the folks at the store just shrugged and put iLife back on the system for me, since I had no idea how to extract it off the disks that came with the computer.
I think dragging and dropping did work with A FEW things, but only with basic stuff like Widgets.
Hopefully if/ when disaster strikes again, the cloned drive I now have will make everything much easier. I'm using SuperDuper and it seems to work well enough.
Oh, and I had all my photos/ music/ pictures/ documents/ calendars/ address books/ keychains/ mail backed up in a variety of ways: simply burnt to disk, or burnt to disk using .Mac's backup, or on iDisk. I got all that stuff back without difficulty. The applications were the hassle and so far as I can tell, the applications are what make cloning essential. -
DIrectories and Files deleted on Snow Leopard upgrade from 10.5.8
We had a directory with sub folders in the /Volumes directory. When we upgraded snowleopard the directory and files were deleted. Why no warning and why were they deleted? I understand that the /Volumes directory is used as a mount point for external drives etc..., but why would the upgrade delete files in that directory or better yet why would it allow you to even create an actual directory with files below it if you were not supposed to store files there. It was a loss of 40GB or 3.5 years of data. We also found that Time Machine or Carbon Copy do not back up that directory as well.
Is this a bug related to the permission changes involving UID, GID 200 or what? Why don't backup utilities pick up the files in the /Volumes dir?What I do not understand is why a regular directory with files stored in it under the /Volumes directory would be deleted when upgraded.
I realize that you don't understand it. I don't know how I can explain any more clearly than I already have, that it's a reserved directory. If you have anything in that directory other than the automatically-created mountpoint for a local volume or a remote AFP volume, then your system is in an inconsistent state. A potential mountpoint exists, but it's not in use. That should never happen. The Disk Arbitration framework must always be free to create or remove a mountpoint in /Volumes with any name required. Otherwise it won't be able to function as the user expects.
If a system installation does anything at all, it must leave the system in a consistent state, which means that it must delete the extraneous files from /Volumes. I repeat that I'm sorry you experienced a loss of data due to this misunderstanding. Arguably the Installer should have moved the files to a safe location instead of deleting them, but to be honest, I doubt that it occurred to anyone at Apple that something like this might happen. They took precautions to keep users from tampering with the /Volumes directory.
Maybe you are looking for
-
PSE-8 Moving to New Computer But Keeping Photos on Ext. Drive
I'm a little stumped on what to do. I'm changing to a new computer. All of my photos are on an external drive. I would like to keep them on that drive. From everything I see, I have to do a full backup and move all of the photos to a new drive th
-
8.1 PDF printer missing - XP
I use Acrobat 8.1 with XP Pro. Yesterday I noticed I couldn't convert to PDF using the 1 button or right click. Eventually re-installed the program, and got the infamous "Unable to creat PDF converter. Tried fix and repair install, says I don't have
-
Mail Migration from Entourage mac to Outlook windows
Hi, I am stuck in a situation of migrating the emails and its sub mail folders from Entourage 2008 mail client runnung in mac over to Outlook 2010 installed in my windows system. I have thousands of important mails stored in several folders in entour
-
Do I need an Mobile Me account?
So this might be a stupid question...sorry in advance. But, I have Mobile Me know but I am looking at not renewing my account...times are tough. But do I need it for my iWeb? I have published my website to a Go Daddy account, forwarded from or to the
-
Locking songs together...taking away the pause that isn't on the recording
How do you make an album such as "The Wall or "Abbey Road" play without the skips between them on an Ipod..... I so love to hear these things in their entirety. Also, is there a way to lock two song together? You know.... two songs that belong togeth