Find Jobs
Hire Freelancers

Unix Shells and Utilities

$10-30 USD

Abgeschlossen
Veröffentlicht vor mehr als 9 Jahren

$10-30 USD

Bezahlt bei Lieferung
what i need is some script doesn't take more than 15 minutes. I need a pair of shell scripts, del and undel, to easily delete and undelete files. Instead of immediately deleting afile, the del command will move the file to another location known as the trash can. The undel command willrestore a file from the trash can, if possible. The del program safely deletes a file by moving the file into the trash can, which is a directory used to hold deletedfiles. The directory can be specified by the variable TRASH. If this variable is not set or empty, then a default direc-tory provided by del (and also undel) is used. The file located in the trash can is called the recovery file. Since the user may delete multiple files with the same name but within different directories, the del programmust accommodate this situation by having different recovery files. A simple solution is to recreate the directorystructure containing the deleted file under the trash can directory. For example, if TRASH was set to /tmp/trash,and the file example was located in the directory /home/student, then the corresponding recovery file would be /tmp/trash/home/student/example. Note: This is not as easy as it first appears. The user may try to delete ../filename or subdir/filename. Thefirst tricky part of the assignment is determining the absolute path to the directory containing the file. The secondtricky part of the assignment is determining how to recreate the directory structure.
Projekt-ID: 6891712

Über das Projekt

31 Vorschläge
Remote Projekt
Aktiv vor 9 Jahren

Möchten Sie etwas Geld verdienen?

Vorteile einer Ausschreibung auf Freelancer

Legen Sie Ihr Budget und Ihren Zeitrahmen fest
Für Ihre Arbeit bezahlt werden
Skizzieren Sie Ihren Vorschlag
Sie können sich kostenlos anmelden und auf Aufträge bieten
Vergeben an:
Avatar des Nutzers
Hello, I can help with that. I think that there's not much to say about this project so... A demo (del part) [login to view URL] here ;-) Kind regards, Chris.
$15 USD in 0 Tag
4,9 (10 Bewertungen)
3,8
3,8
31 Freelancer bieten im Durchschnitt $30 USD für diesen Auftrag
Avatar des Nutzers
Hello, I can do your project in less than a day. Can start working immedaitely. Thanks...................
$30 USD in 1 Tag
4,9 (671 Bewertungen)
7,7
7,7
Avatar des Nutzers
I am very proficient in c, c++. I have 15 years c++ developing experience now, and I have worked for 5 years. My work is online game developing, and mainly focus on server side, the language is c++ under linux. I used c++ to make many great projects, for example, I made the tools which can convert java files to c++ scripts which has the same effect, of course garbage collection included. I also made our own mobile game using c++, I even can show you the demo of client. Trust me, please let expert help you.
$50 USD in 1 Tag
4,9 (204 Bewertungen)
7,3
7,3
Avatar des Nutzers
Hi I can create shell scripts which provide del, undel and empty trash functions. I take 10 minutes. I'm expert with scripting.
$35 USD in 1 Tag
4,8 (209 Bewertungen)
6,9
6,9
Avatar des Nutzers
Hi! I have good experience in bash scripting. I suppose I can do this task as it is required.
$20 USD in 1 Tag
5,0 (115 Bewertungen)
6,2
6,2
Avatar des Nutzers
A proposal has not yet been provided
$25 USD in 1 Tag
5,0 (39 Bewertungen)
5,3
5,3
Avatar des Nutzers
I think, we should use urlencode (or same method) to translate delete file absolute path into trash bin file name. Undeletion process will match absolute path and move file to original location.
$30 USD in 2 Tagen
5,0 (27 Bewertungen)
5,1
5,1
Avatar des Nutzers
A proposal has not yet been provided
$50 USD in 1 Tag
4,7 (41 Bewertungen)
5,0
5,0
Avatar des Nutzers
Hi there, Your project looks to be pretty straightforward. I'm available to work on this for the next several hours, and I estimate it won't take more than one or two to complete. I've reviewed the document attached, and I see that the code needs to be done as a bash shell script. That's not a problem. As I said above, I can have it ready for you in a few hours. I'm in the U.S. Mountain time zone, and I can work on this anytime during normal hours. I won't be available after about 10:00PM each night. Thanks again for considering my bid!
$35 USD in 1 Tag
5,0 (8 Bewertungen)
4,0
4,0
Avatar des Nutzers
I have a 5 year experience in linux administration s, and I am working as a linux os tutor in an university. I hope we can talk as soon as possible.
$25 USD in 1 Tag
5,0 (8 Bewertungen)
3,8
3,8
Avatar des Nutzers
A proposal has not yet been provided
$50 USD in 2 Tagen
5,0 (11 Bewertungen)
3,7
3,7
Avatar des Nutzers
I do shell scripting daily in my office and using linux more than 6 years.. I can do this. You can give me this task without any headache..
$20 USD in 1 Tag
4,0 (1 Bewertung)
3,0
3,0
Avatar des Nutzers
I have experience writing shell scripts, tcl scripting and configuring cron jobs. Please see my profile for work samples and projects I have completed. Regards, Michael
$25 USD in 1 Tag
4,5 (1 Bewertung)
1,5
1,5
Avatar des Nutzers
Since your requirement is so clear it won't take me much time to write these 2 scripts. Please accept my bid. Regards
$15 USD in 1 Tag
5,0 (1 Bewertung)
1,2
1,2
Avatar des Nutzers
Hey! I write scripts like this all the time and would be happy to help you out with it. Can complete it quickly for you, no problem. Seems like a school assignment, yeah? I'd have no problem throwing in some nice comments as well :) Thanks for your consideration!
$25 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I understand what do you want. I will use methode X windows to solve this problem, so if this software run in Gnome or KDE, the file was deleted it is posible to undelete from Xwindow and terminal. best regards.
$12 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
i have mgood experince in shell scripts and c programming , I have developed projects basef on these skill sets.
$25 USD in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I am ample experience in shell scripting , python and Perl. I guarantee high quality. And error free code
$35 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
1. Code always tells the truth. 2. Stability and easy use experience is a point. 3. Manual is provided for query.
$35 USD in 0 Tag
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
I can do this using shell scripting or perl . .I have been doing such kind of projects for my organization for some years now . ..so it should not be a big deal
$56 USD in 2 Tagen
0,0 (0 Bewertungen)
0,0
0,0
Avatar des Nutzers
del command while deleting file will move the file with dir structure under TRASH/files folder and create a entry file in TRASH/info folder of trash under the name. for folders it will do the same this will provide mapping between deleted content and correct name undel command simply reads the info folder content and restores accordingly. This is how unix works. Hope I get it...
$25 USD in 1 Tag
0,0 (0 Bewertungen)
0,0
0,0

Über den Kunden

Flagge von UNITED STATES
Placentia, United States
5,0
3
Zahlungsmethode verifiziert
Mitglied seit März 25, 2013

Kundenüberprüfung

Danke! Wir haben Ihnen per E-Mail einen Link geschickt, über den Sie Ihr kostenloses Guthaben anfordern können.
Beim Senden Ihrer E-Mail ist ein Fehler aufgetreten. Bitte versuchen Sie es erneut.
Registrierte Benutzer Veröffentlichte Jobs
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Vorschau wird geladen
Erlaubnis zur Geolokalisierung erteilt.
Ihre Anmeldesitzung ist abgelaufen und Sie wurden abgemeldet. Bitte melden Sie sich erneut an.