Tagged Questions
0
votes
0answers
13 views
Mountain Lion - problems to open jar file
I use mac with mountain lion and java u update 21.
when I try to open the file with a double click, I get the following error:
"java file.jar could not be launched"
or sometimes not after the ...
1
vote
1answer
34 views
OSX / Unix: move odd or even numbered files
I have a folder with a range of numbered files (camera images) and I'd like to move every other image into a different folder, so either all the odd numbered images, or all the even ones. How can I do ...
0
votes
1answer
34 views
Where the data related to firefox urlbar.autoFill is stored?
Attention! This question is not about auto filling the forms
and/or passwords!
In firefox (just like chrome) when I type in s in the address bar, it automatically fill the rest to ...
1
vote
1answer
54 views
how do I on OSX copy a folder from an external drive to my hard drive and only add the new files?
say I have on the external drive:
A/file1.txt
B/file2.txt
B/file3.txt
and on my hard drive I have:
A/file1.txt
B/file2.txt
I would like to drag and drop the whole folder over to the hard drive ...
0
votes
2answers
67 views
Can I create a socket file on mac?
I am missing /tmp/mysql.sock. It has signature srwxrwxrwx. Is it possible to create this file by hand?
0
votes
1answer
69 views
ip address seen in ifconfig in os x which is not present in network setting
I have a macbook and some while back I must have assigned it an ip address of 192.168.2.1 on the ethernet interface. The problem is that the ip is still seen even when I have removed it from the ...
2
votes
3answers
400 views
How can I find files added to the system within X minutes of a specific time?
I have done a fresh install of Mac OS X Mountain Lion today on a new MacBook.
Because this was a new install, when I finally got round to configuring some of my own developer things, I was surprised ...
2
votes
2answers
187 views
random file order
i'm using Ubuntu && MAC OS/X. i'm trying to achive a random order in finder or nautilus.
someone can get me some advice? i am open to any kind of solutions, shell script or applescript, ...
0
votes
1answer
1k views
Can I access my Ubuntu partition from OSX?
I have a MacBook, on which I have a dual-boot setup with OSX and Ubuntu.
When logged in to Ubuntu, I can easily access my files on my OSX drive (albeit read-only).
Is there a way to similarly view ...
2
votes
1answer
61 views
How to get which file is requested to open using a mac application?
I have created a mac application which can be open my file extensions.
But when I tested it, I dont get the path of the file requested to open using the application, instead I got the "psn_0_151589".
...
2
votes
1answer
58 views
GUIs treat /tmp as a file
A friend was having trouble using cp to copy a disk image (a sparsebundle to be precise). I figured out that the line he was using copied all of the /contents/ (sparsebundles are packages, i.e. ...
0
votes
0answers
223 views
How to delete *.vmdk files?
I can't seem to delete *.vmdk files and related on Mac OS X 10.6.8 with sudo rm:
$ sudo rm -rf /Volumes/Temp/vm/
rm: /Volumes/Temp/vm//MarukoVM/nvram: Read-only file system
rm: ...
0
votes
1answer
109 views
Messed Up My Computer, Badly
I was testing a file IO thing, and accidentally hit an infinite loop. I was able to stop it relatively quickly (only about 23k files were created). It happened on my Desktop, and when I try to view my ...
13
votes
1answer
356 views
How to recover a deleted file that is still open?
How can one restore a file that has been deleted but is still open by a process?
The blog post "Restoring files from /proc" explains how to do this on Linux:
Use lsof (e.g., lsof -c name) to find ...
-1
votes
2answers
161 views
How to “cd” into system files
I have files saved under Macintosh HD/Library/... that I need to manipulate using bash. How can I access those files in the shell?
13
votes
2answers
4k views
Is there a fix for the “Too many open files in system” error on OS X 10.7.1?
I need to get rid of the pesky "Too many open files in system" limit on OS X 10.7.1.
Is there a way?
0
votes
1answer
155 views
Sorting or finding a images based on their dimensions
I ran this file recovery tool to see if I could find a previously deleted image and the results were rather impressive. It recovered a little over 150,000 images (40GB total).
If I go image by image ...
0
votes
1answer
43 views
OSX Document Package on Windows ? Or hiding the contents of a directory as a single file?
On OSX there's the concept of a Document Package, which is basically a directory that is shown to the user as a single file. This is the Apple documentation about it:
If your document file formats ...
-2
votes
2answers
388 views
Can't find the path to proxy.pac file in OS X
I need to control my proxy.pac file in OS X, but I couldn't find it anywhere.
I used
whereis proxy.pac
from terminal too — the whole story short: I want to find the path to a file in Mac OSX.
1
vote
1answer
301 views
OS X - Too many files in a folder, can't move them
I have over 200,000 files in a folder, which I need to sequence into a movie. Quicktime Pro gives me an error so I'm trying to split up the images into various folders. Sadly, Finder is not letting me ...
1
vote
1answer
124 views
Delete all files that don't start with a certain string in a folder
How can I delete all files that don't start with "2012" in a particular folder?
This is on OS X Lion.
3
votes
3answers
994 views
List files recursively and sort by modification time
How do I list all files under a directory recursively and sort the output by modification time?
I normally use ls -lhtc but it doesn't find all files recursively. I am using Linux and Mac.
ls -l on ...
2
votes
1answer
148 views
What command sequence can I use to delete directories but not their files?
How do I delete directories but not the files inside them? I have tried the following:
rm -di /Users/arthur/Desktop/MyFolder
remove /Users/arthur/Desktop/MyFolder? y
rm: ...
2
votes
2answers
2k views
Mac OS X Lion: folders and files permissions
Every time I try to change the name of file or folder, or delete file or folder, the password dialog input appears. This is on Sites folder, permissions are drw--rw, user and everyone. The permissions ...
0
votes
1answer
127 views
How can I edit or view a Mac OS file with no extension?
I would like to view or perhaps edit a file with no extension. It is a Mac OS X Universal Binary executable file which I downloaded from my iPhone.
I have both Mac OS X and Windows. Is there any way ...
2
votes
1answer
126 views
What is a socket link?
After noticing an interesting environment variable Apple_PubSub_Socket_Render. I notice that it was referring directly to this "Render" file.
After doing a listing of "Render":
ls -lh Render
I ...
0
votes
0answers
58 views
Can't delete file because the item is in use [duplicate]
Possible Duplicate:
A file is still in use when trying to empty the Trash – how can I remove it?
I recently downloaded Python, got confused, and deleted it. Everything went fine, until I ...
1
vote
1answer
507 views
split a large file with mac in command line by context
I have been trying to split a large file (some GB) into pieces, I need to chunk the file by linenumber (say, containings about 1M lines each).
How could I do?
csplit does not work, goes out of ...
1
vote
1answer
304 views
Copying files across computers in different networks using scp Mac Lion
I forgot how to do this and I found this other StackOverflow post about it but now I'm getting this error:
ssh: connect to host xx.xx.xx.xx port 22: Permission denied lost
connection
I am ...
5
votes
3answers
10k views
How to tell full path of file on Mac?
I have a text file opened up in TextEdit, and I can't seem to figure out the full path of the file.
Also, if I search for the file in spotlight, it doesn't seem to tell me the full path of the file ...
2
votes
2answers
316 views
How to retrieve files cached in the RAM?
There are some applications that don't write cache files on the disk, instead they write into the RAM directly and thus you can't back it up, analyse it or do anything with it.
How can I retrieve ...
1
vote
1answer
142 views
What is the difference between moving a file to Trash and using Terminal to rm it?
What is the difference between moving a file to Trash and using the Terminal to rm it?
What is the idea behind the scenes?
1
vote
1answer
679 views
I've copied a folder over another one on my Mac, what can I do?
I've been designing a website for the past couple of weeks on my local server and I made some quick last changes before the meeting later this day.
Being new with OS X, I copied the folders over to ...
0
votes
1answer
67 views
How do I drag a file onto Chrome? (Mac OSX Lion)
I have a file on the desktop that I want to drag onto a window (my browser).
Suppose the browser is fully maximized.
How can I do that in Lion?
Before, in Snow Leopard, I could swipe up (reveal ...
0
votes
1answer
118 views
Use a script to grab paths to the recently changes files on the system?
Months ago I asked Is there a program or some method to access recent Finder windows / places?
After asking that question I started using a utility called Fresh to watch recently changed files all ...
0
votes
0answers
32 views
Mac: Associate two files
I'm looking for a way (hopefully built into OSX) to make two files always stay together.
The purpose: give every file used in my classes (mostly PDFs and PPTs) a "summary file" -- which could just be ...
1
vote
4answers
2k views
How do I create a hidden file or folder in OS X?
I need to create ultra/super hidden folder in OS X.
In Windows there are possibilities to create a super hidden folder, for example, using
attrib +s +h Hidden
the "Hidden" folder will be hidden.
...
7
votes
2answers
50k views
How to copy files to read-only NTFS hard drive on a Mac
I want to copy my some files from Mac (Macbook-Air) to a USB external hard drive, formatted as NTFS.
How is it possible? Because when I do copy my files from the Mac and go to paste them on the ...
11
votes
1answer
13k views
How do I split a .zip file into multiple segments?
I have all the command line utils installed, and need to split an existing .zip (or) new file(s) into (50MB) .zip segments in Terminal.
i.e. Folder X = 900MB > Create self extracting .zip archive > ...
1
vote
1answer
1k views
OSX: The item XYZ.txt~ can’t be moved to the Trash because it can’t be deleted
I'm trying to delete a file under OSX Lion, but can't. I get the following message:
The item XYZ.txt~ can’t be moved to the Trash because it can’t be
deleted.
Here's what I've tried:
select ...
1
vote
2answers
64 views
Why are some of my files' names are not being displayed in OS X?
Some of my files' names are not being displayed in OS X as can be seen in the screenshot below:
.
I have also uploaded a video to demonstrate this issue:
YouTube video
Any ideas what is wrong ...
4
votes
3answers
473 views
Mac OS X tool to sync / copy ONLY timestamp rather than data of a file? No file data transfer, only filesystem metadata gets synced
This is my current situation (simplified, in fact of course many and large files):
Dir1/
a b c
Dir2/
a b c d
This has happened before:
a b c were copied from Dir1 to Dir2.
Within Dir2 the ...
1
vote
1answer
117 views
Setting the last file status change time
stat will report the last access time, last data modification time, and last file status change time.
utimes will allow one to set the last access time and last data modification time.
Is there a ...
2
votes
1answer
211 views
Attributes of a file
I am trying to determine what all of the attributes are of a regular file (as opposed to a symbolic link, etc.) on Mac OS X with Mac OS Extended (Journaled) (HFS+). Here is my current list:
...
0
votes
2answers
160 views
How can I drag and drop from Spotlight search results on Mac OS X?
I'd like to hit Cmd-Space, type my query, and then from the list, drag a file to my Desktop or my browser or whatever. The best I have is that with the file highlighted, I can hit Cmd-I and then drag ...
4
votes
2answers
5k views
What is a .lockfile?
What are the .lockfiles (for example, in ~/Library/Preferences) in OS X Lion for? I didn't seem to see them in Snow Leopard. Do they impact modifying other files in any way?
And how do you open these ...
2
votes
1answer
3k views
How do I use Split in the Mac OS X Terminal to split files directly to another directory?
How do I use the OS X Terminal app "Split" to split a file into several pieces, and store them in a different folder, on a different drive?
The reason is that I need to move files to a FAT32 store, ...
0
votes
1answer
303 views
Is there a way to recover files after an OS X app crashes?
I think some unix programs will keep a temp file somewhere deep within the guts of the system, and after a program crashes you can go hunt around for them and possibly recover something. (a) i ...
0
votes
0answers
231 views
Copy busy file in OS X Lion
How can you copy a file in OS X Lion when it says it is busy?
I am trying to copy Photoshop brushes from an external hard drive. Photoshop is not running and I'm not sure why OS X says that the file ...
2
votes
1answer
2k views
How to remove the @ / extended metadata of a file?
I know that the @ in
-rwxrwxrwx@ 1 me staff 0 16 Mai 10:55 myLog.txt
means, that there is some extended metadata attached.
Fine. Doesn't interest me.
I need to know how to remove it ?
I ...
