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

Similar Threads
thread Thread Starter Forum Replies Last Post
Shell script in Automator for Bit Rate of Audio File drmjdoyle Mac Basics and Help 0 Mar 5, 2014 05:18 PM
Apple script batch shell script prramesh Mac Programming 5 Sep 15, 2013 03:35 AM
AudioScope.sh shell script... wisecracker MacBook Pro 0 Jul 31, 2013 01:31 PM
Anyone know how to use AppleScript or shell-script? gba2000 Mac Applications and Mac App Store 0 Apr 23, 2013 11:14 AM
Need help with a shell script thatgreenvw Mac Programming 1 Nov 30, 2012 07:55 AM

Forum Jump

All times are GMT -5. The time now is 09:33 AM.

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

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC