• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Move a file to the Trash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move a file to the Trash


  • Subject: Re: Move a file to the Trash
  • From: James DiPalma <email@hidden>
  • Date: Sat, 9 Nov 2002 13:30:08 -0800

I agree. I only went out and used carbon to handle trashing files because I needed to use carbon to move files and copy files (which also means finding a unique name in a directory), so learning FindFolder to find and create a trash directory was not that much more work.

But, I'm still curious exactly what gets lost by using NSWorkspace. If its only "Comments", why worry? (except for that one adamant customer that uses comments, I guess).

-jim


From: Clark Mueller <email@hidden>

If you're intending to trash the file, that's where I personally make the tradeoff... It may sound cruel and heartless, but if they're 99% of the time not recovering the file, and then 99.99% of the time not recovering the file to get comments or a creation date from it, then I will not be worried about the other 0.01% of the time.

-c

On Saturday, November 9, 2002, at 02:35 AM, James DiPalma wrote:

Won't using NSWorkspace cause some information to be lost when performing any operation on HFS files? Testing this idea, I only notice that "Comments" from Finder's info window gets lost and that a copy operation will change file creation date.

Is anything else changed/lost?


-jim


From: Clark Mueller <email@hidden>

What about NSWorkspace? I'm surprised nobody at least suggested this...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Move a file to the Trash
      • From: Rosyna <email@hidden>
References: 
 >Re: Move a file to the Trash (From: Clark Mueller <email@hidden>)

  • Prev by Date: [SOLVED] Re: AddressBook & phone multivalue
  • Next by Date: Re: How to constrain the dragging of a window
  • Previous by thread: Re: Move a file to the Trash
  • Next by thread: Re: Move a file to the Trash
  • Index(es):
    • Date
    • Thread