LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-21-2010, 11:50 PM   #1
saranraj
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Rep: Reputation: 0
help to do some operation after saving a file


Hi i'm using fedora 11. i want to do some operation like after saving a file (moving ,copying,..) the system need to ask that "DO you want to encrypt?" . If yes i am able to run the crypt module( which i already implemented..). Is it possible to invoke a encrypt module which i implemented in c language.. Please help me..
Thanks...
 
Old 02-22-2010, 01:50 AM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
You need to write a wrapper script eg mycopy.sh and do the copy, then ask the user if they want encryption.

These may help
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/
 
Old 02-22-2010, 04:47 AM   #3
saranraj
LQ Newbie
 
Registered: Feb 2010
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
You need to write a wrapper script eg mycopy.sh and do the copy, then ask the user if they want encryption.

These may help
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/
I need to do it in GUI sir. FOr example consider i'm having a folder called 'A'.Through file browser(GUI) I'm moving one file named "file.doc" from 'B' directory to the 'A' directory. So without calling the actual mv command, it should be done with my script program (mycopy.sh). How it can be done? please explain it sir.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
chgrp: operation not permitted even though I own the file! the theorist Linux - Newbie 16 05-29-2010 12:02 AM
File for the operation of shorycut keys anitha.mit Linux - Newbie 1 12-06-2007 12:51 AM
Why not build an OS like windows in operation and file system???? arun79 General 308 04-22-2005 12:36 AM
How to delete directory/file (operation not permitted)? lvgamer1 Linux - Newbie 4 12-28-2004 11:53 AM
Why not build an OS Exactly like windows in operation and file system???? arun79 General 3 06-03-2003 07:44 AM


All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration