[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Unix Command Line - Delete command
- Subject: Unix Command Line - Delete command
- From: gids.rs@sasktel.net
- Date: Mon, 10 Dec 2012 10:24:39 -0800 (PST)
- Complaints-to: groups-abuse@google.com
- Injection-date: Mon, 10 Dec 2012 18:24:39 +0000
- Injection-info: glegroupsg2000goo.googlegroups.com; posting-host=142.165.85.187; posting-account=U4TNXwoAAABP4nIJHynAJZ69O_f3LY2g
- Newsgroups: comp.sys.apple2
- User-agent: G2/1.0
Just finished "The Navigator" command, which now works flawlessly. Had started on the "Undelete" command when a brainstorm hit me. Why not make a "Delete" command that works like the Macintosh. So, here are three more commands that I am currently working on to work with the Unix Command Line.
DELETE, UNDELETE and EMPTYTRASH
DELETE (called DEL for short, so the command is distinguished from Basic.systems Delete command) - This moves the directory entry for the file you want to Delete, to a TRASH folder. Also kept up to date is, a text file of where the deleted file came from that is stored in the trash folder.
UNDELETE - will be able to read the text file and return the undeleted file to its original location. If the file is not found in the trash, then UNDELETE can perform a check to see if the file was actually deleted and recover it then, if it has not been overwritten
EMPTYTRASH - does the actual delete of all files in the folder called TRASH, including the text file that holds all locations
Rob