Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > OS X

Reply
 
Thread Tools Search this Thread Display Modes
Old Oct 18, 2011, 04:32 PM   #1
quadroid
macrumors newbie
 
Join Date: Apr 2011
Location: Kiev
How to move file(s) to trash from shell script?

Can simple
mv ~/some-file.txt ~/.Trash
but in this way I can't restore it from Finder, context menu item "Put Back" disappeared
quadroid is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > OS X

Tags
bash, terminal, trash

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
How to supercharge Mini? ranny2 Mac mini 18 Oct 27, 2011 08:53 PM
How To Remove Server Part Of Lion? hhaydenn iMac 2 Aug 18, 2011 05:21 PM
Help Creating Script to Move Folders to Trash (MS Office related) Talfamadorian Mac Basics and Help 1 Mar 7, 2011 11:32 PM
Applescript shell script won't run when display is sleeping BlueRevolution Mac Programming 6 Feb 19, 2011 03:11 AM
how to move files from trash instead of copying? oYx OS X 0 Feb 26, 2009 05:29 PM


All times are GMT -5. The time now is 12:28 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

Privacy / DMCA contact / Affiliate and FTC Disclosure
Copyright 2002-2013, MacRumors.com, LLC