Renaming a file and chaning the icon
So I have a file:
-rw-rw-rw-@ 1 doug staff 139880980 Aug 3 23:08 ItalianVacation2003.mov
Sitting on another host that is shared via afp - it is a linux host.
At the command prompt I can rename, copy, move, delete the file. In finder I can sometimes move the file, I cannot delete the file or rename it.
As you can see from the shell I have permissions - everyone has read/write.
In finder everyone has read/write privileges.
After I copy the file to my home directory:
-rw-r--r--@ 1 doug staff 139880980 Jan 15 12:36 ItalianVacation2003.mov
In finder- I can see I have read/write.
But I cannot, in finder, <Command>-, rename this file nor change any other attributes about it.
I can in finder, delete the file - put it in the Trash and empty the trash.
Anyone- what am I missing? Is there some other place the metadata is stored for this file? Is there some magic in the file itself? I checked ls -lO
-rw-rw-rw-@ 1 doug staff - 139880980 Aug 3 23:08 ItalianVacation2003.mov
thanks
dn
The relevant permissions for deleting or renaming a file are the permissions for the folder that contains the file.
Similar Messages
-
HT2493 How to change preview image of a file and NOT the icon ?
Hello dear Mac users
How to change preview image of a file and NOT the icon ?
I know how to change the icon of a file, but I wish to know how to change the preview of any file.
For example: my file is "mysong.aif", I changed the icon to be "mylogo.png" using cmd+i, cmd+v on the icon. But the preview of the file still remain the same.
I know it can be changed using iTunes, but I don't want to import all my files in iTune, and iTune cannot import all type of files.
I hope someone will understand my needs...
Thanks!Thanks BeerbarX
You can't change the preview image for anything
hoo
QuickLook plugin
what are the plugin ?
In the case of a music file, it will be that generic black box with a note on it
That is exactly what I'm asking about !
MP3 which has a special tagging standard that can include artwork
How can I "tag" my MP3 without going thru iTunes ? Is it possible to do it dirrectly in the Finder ? Is there other type of files that can include such tags ?
Thank you for answering my question , wich I have to admit may seem useless, but I wish I could put something like a signature logo on each of the different file I produce (as AIF for music and MP4 for video clip) instead of that generic black box with a note on it, and by the meantime keeping a different icon for all of them in order to illustrate theire content. -
below file/edit/view/history/bookmarks/tools/help menu line, on second line I have added icons for print, reopen closed tab, session manager, (xmarks)synchronize now, my xmarks, home,duckduckgo, woolik search, stumbleupon, you tube, do not track me, mask me, better privacy, https addon, zoom out zoom in, back forward, private browsing toggle. on the third line i have added icons for gmail-open in a new tab, gmail checker, gmail notifier, last pass and the address bar. there are 2 to 4 separator lines between the icons, grouping like icons, i.e., security, search engines, gmail, etc. each time i close Firefox and then reopen, the icons are no longer in the order i placed them, with separators, or they are not visible and i have to r.click. select "customize," and re-drag and drop the icons and separators where i want them. i am a very, very beginner at this all, but drag and drop i know. why don't the icons/seperators stay in place??
thank you for you help...a. 09 fev. 2013 16h03.Its problem saving.
*http://kb.mozillazine.org/Preferences_not_saved
*https://support.mozilla.org/en-US/kb/how-to-fix-preferences-wont-save -
Is there a way to select multiple files and initiate the Capitalize function?
I have hundreds of files all in upper case that are driving me crazy. I can select them one at a time, right click and then select Transformations/Capitalize. Is there a way to select multiple files and initiate the Capitalize function?
You could use Automator to do this - take a look at the article at http://www.wikihow.com/Batch-Rename-Files-in-Mac-OS-X-Using-Automator to see how this might be done.
Good luck... -
How do I export to AVI. file and make the size smaller?
Looking to export a film as a AVI file and alter the size and quality.
Thanks!Hi,
you can use QT or FCP>Export> QT movie conversion but I like using Compressor.
In Compressor settings tab there's a button with a plus icon on the top right corner. Click it and in the popdown menu choose Quicktime Export Components.
You've just created a new untitled setting. It sits at the bottom of the settings in the untitled folder.
Drag and drop it onto your movie file just imported in Compressor. Double click it and/or see it in the inspector window. Give it a name and in the encoder type choose AVI.
Now (still in in the inspector window) if you click Options button below you can change a number of settings. Remember, the higher the bit rate the better the video will look but greater wil be the size of the video.
Do some tests to find best settings.
An example to use just as reference:
a 3GB DVCPRO HD video becomes 400MB AVI at 1000kbyts
Hope that helps,
G. -
I am trying to install software for iTwin Connect, but after downloading the dmg file and launching the program, I receive a message saying the file can't open and to check my internet connection. Any ideas?
Many Thanks, Kurt.
I knew I'd seen the solution you've provided somewhere - either in MacWorld or MacFormat - but couldn't remember the Gatekeeper bit!
I shall save it somewhere VERY safe now in case this happens again …
You have made an old man very happy and saved me from worrying that senile decay had suddenly set in. (I was 70 last week so you might understand the situation from that.)
Best wishes
OllyanDinah -
I need help. My ipad 2 was stuck in recovery mode. i tried to connect it to itunes and restore but after downloading the file and extracting the software there is a pop up message that says "the device is full. Deleting files and emptying your recycle been will help you restore." how am i going to erase files if i can't open my ipad. i dont know what to do. Its been 2 days now. please help. thanks.
yes i am sure. This are the exact words... "The iPad "iPad" could not be restored. The disk you are attempting to use is full. (Removing files and emptying the recycle bin will free up additional space". i tried some options, hard reset, redsnow, tinyumbrella but still it's stuck.
-
To retrieve the PRT document (a PDF file) and insert the doc in PM order
Hello guys,
I have a challenging task in from printing as follows,
By using TC: IW3D we get print preview of PM Order Set (PM Print Program: YIPRJT01), currently the PRT document number prints in the PM Order. Now we have to insert the PRT documents (a PDF file) into the PM Order set rather than printing the PRT document number ( By using TC: IW33 by going OPERTIONAL TAB we will get the PRT document(a PDF file))
The requirement is to retrieve the PRT document (a PDF file) and insert the document in PM order set with out navigating separately by using the TC: IW33.
If you run the script in the print preview we can able to see PM the order set along with the PRT document (a PDF file).
Thanks & Regards
VishnuI'm also trying to print PRT document with shop papers and still not able to do so. I selected "P" for print on the control key and it should print but still didn't print.
If I understand it right, I think you are trying to do the same.
Have you resolved this issue ?
Thank you,
Sam -
How can i read the text files and buffer the data in Vector?
hi. I have been running into this problem for days, but with no luck and losing right direction.
The problem is : I am trying to read a text file and buffer the data into a
Queue for each user.
the sample text file is as below:( 1st column is timestamp, 2nd is user_id, 3rd is packet_id, 4th is packet_seqno, 5th is packet_size)
0 1 1 1 512
1 2 1 2 512
2 3 1 3 512
3 4 1 4 512
4 5 1 5 512
5 6 1 6 512
6 7 1 7 512
7 8 1 8 512
8 9 1 9 512
9 10 1 10 512
10 1 2 11 512
11 2 2 12 512
12 3 2 13 512
13 4 2 14 512
14 5 2 15 512
15 6 2 16 512
16 7 2 17 512
17 8 2 18 512
18 9 2 19 512
19 10 2 20 512
20 1 3 21 512
21 2 3 22 512
22 3 3 23 512
23 4 3 24 512
24 5 3 25 512
25 6 3 26 512
26 7 3 27 512
27 8 3 28 512
28 9 3 29 512
29 10 3 30 512
30 1 4 31 512
31 2 4 32 512
32 3 4 33 512
33 4 4 34 512
34 5 4 35 512
35 6 4 36 512
36 7 4 37 512
37 8 4 38 512
38 9 4 39 512
39 10 4 40 512
40 1 5 41 512
41 2 5 42 512
42 3 5 43 512
43 4 5 44 512
44 5 5 45 512
45 6 5 46 512
46 7 5 47 512
47 8 5 48 512
48 9 5 49 512
49 10 5 50 512
50 1 6 51 512
51 2 6 52 512
52 3 6 53 512
53 4 6 54 512
54 5 6 55 512
55 6 6 56 512
56 7 6 57 512
57 8 6 58 512
58 9 6 59 512
59 10 6 60 512
60 1 7 61 512
61 2 7 62 512
62 3 7 63 512
63 4 7 64 512
64 5 7 65 512
65 6 7 66 512
66 7 7 67 512
67 8 7 68 512
68 9 7 69 512
69 10 7 70 512
70 1 8 71 512
71 2 8 72 512
What I wanna do is to read all the data above and buffer them in a queue for each user( there are only 10 users in total).
I already created a class called Class packet:
public class packet {
private int timestamp;
private int user_id;
private int packet_id;
private int packet_seqno;
private int packet_size;
/** Creates a new instance of packet */
public packet(int timestamp,int user_id, int packet_id,int packet_seqno, int packet_size)
this.timestamp = timestamp;
this.user_id=user_id;
this.packet_id=packet_id;
this.packet_seqno=packet_seqno;
this.packet_size=packet_size;
}then I wanna to create another Class called Class user which I can create a queue for each user (10 users in total) to store type packet information. the queue for each user will be in the order by timestamp.
any idea and sample code will be appreciated.Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave. -
How can i open a DOC or TXT file and insert the data into table?
How can i open a DOC or TXT file and insert the data into table?
I have a doc file . the doc include some columns and some rows.(for example 'ID,Name,Date,...').
I'd like open DOC file and I'd like insert them into the table with same columns.
Thanks.Use the SQL*Loader utility or the UTL_FILE package.
-
Loop through a csv file and return the number of rows in it?
What would be simplest way to loop through a csv file and
return the number of rows in it?
<cffile action="read" file="#filename#" output="#csvstr#"
>
<LOOP THROUGH AND COUNT ROWS>ListLen(). Use chr(13) as your delimiter
-
Loading a CSV file and accessing the variables
Hi guys,
I'm new to AS3 and dealt with AS2 before (just getting the grasp when the change it).
Is it possible in AS3 to load an excel .csv file into Flash using the URLLoader (or ???) and the data as variables?
I can get the .csv to load and trace the values (cell1,cell2,cell3....) but I'm not sure how to collect the data and place it into variables.
Can I just create an array and access it like so.... myArray[0], myArray[1]? If so, I'm not sure why it's not working.
I must be on the completely wrong path. Here's what I have so far....
var loader:URLLoader = new URLLoader();
loader.dataFormat = URLLoaderDataFormat.VARIABLES;
loader.addEventListener(Event.COMPLETE, dataLoaded);
var request:URLRequest = new URLRequest("population.csv");
loader.load(request);
function dataLoaded(evt:Event):void {
var myData:Array = new Array(loader.data);
trace(myData[i]);
Thanks for any help,
Skyjust load your csv file and use the flash string methods to allocate those values to an array:
var myDate:Array = loader.data.split(","); -
Read a csv file and read the fiscal yr in the 4th pos?
Hello ABAP Experts,
how to write a code for read a csv file and read the fiscal year in the 4th position.
any suggestions or code highly appreciated.
Thanks,
BWerHi Bwer,
Declare table itab with the required fields...
Use GUI UPLOAD to get the contents of the file (say abc.csv) in case if the file is on the presentation server...
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = 'c:\abc.csv'
FILETYPE = 'ASC'
WRITE_FIELD_SEPARATOR = 'X'
tables
data_tab = itab
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Use OPEN DATASET in case if the file is on the application server..
After that USE SPLIT command at comma to get the contents of the 4th field...
Regards,
Tanveer.
<b>Please mark helpful answers</b> -
i have macbook pro running on 10.9.2 every time i download music files and transfare the it duplicates the file is there any way off switching it off please help
Open Automator
Choose Folder Action for type of document
At the top, for Folder action receives files and folders added to, select Other...
in the window that opens, select your Downloads folder, and then Choose
from the Actions on the left, drag Filter Finder Items over to the column on the right
Where it says Any Content, select Kind
Where it says Any, select music
Drag Move Finder Items over to the rightfor To: select other, and navigate to your user folder > Music > iTunes > iTunes Media > Automatically Add to iTunes
it should look like this:
close the window and give the folder action a name. -
The bottom part of my iPod Touch screen isn't responding but I can slide to unlock the screen and slide the icons at the bottom but I just can't click on them, anyway to solve this?
Try:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Restore from backup. See:
iOS: Back up and restore your iOS device with iCloud or iTunes
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar
Maybe you are looking for
-
Convert XML using XSLT mapping
Hi, I have an XML in the following format and would want to cnvert it in the target format shown below. Kindly let me know the XSLT mapping to conert from hierarchy to flat structure. <u><b>Source XML:</b></u> <group Level1="Mac Tools Item Classifica
-
Hi there, anyone know whats the error code means? 4MOT/1/40000003:HDD-1344 I have my iMac 27" for 14 months, and it just passed the warranty ... Is it the hard drive problem or other? Thanks Lewis
-
Putting MacBooks on top of each other puts them to sleep?
I have a few MacBooks. When putting my macbook pro on top of a old shut macbook it put my screen to sleep on the MacBook pro. I thought I had killed my laptop so I moved things around and when I started it came back to life. I moved it and it died ag
-
Does Adobe Reader for iPad save annotations by/in itself (once uploaded from dropbox I can still see them after closing the app or switching documents)? I lost some valuable annotations while switching documents and apps over time. How do I save them
-
HT1695 No Wifi on Iphone - Wifi button grey - impossible to activate
My Iphone 4s works perfectly during 4 months, now for unknown reasons, it is impossoble to connect to Wifi; The button remains grey. Impossible to activate. I tried to reset, to restore b ut nothing seems to work