Hello,
Thank you very much. This is exactley what I am looking for.

Regards,
Heinz




[email protected] 
14.07.2009 15:08

An
[email protected], [email protected]
Kopie

Thema
RE: [FOSSology] Delete files






Hello Heinz,
The agent responsible for deleing uploads is delagent.  You can access it 
from the UI via Organize -> Uploads -> Delete Uploaded File. 
 
The agent can also be invoked from the command line:
 
la...@mysystem:~/fossology-1.1.0/agents/delagent$ 
/usr/local/lib/fossology/agents/delagent -?
/usr/local/lib/fossology/agents/delagent: invalid option -- ?
Usage: /usr/local/lib/fossology/agents/delagent [options]
  List or delete uploads.
  Options
  -i   :: Initialize the DB, then exit.
  -u   :: List uploads IDs.
  -U # :: Delete upload ID.
  -l   :: List uploads IDs. (same as -u, but goes with -L)
  -L # :: Delete ALL licenses associated with upload ID.
  -f   :: List folder IDs.
  -F # :: Delete folder ID and all uploads under this folder.
          Folder '1' is the default folder.  '-F 1' will delete
          every upload and folder in the navigation tree.
  -s   :: Run from the scheduler.
  -T   :: TEST -- do not update the DB or delete any files (just pretend)
  -v   :: Verbose (-vv for more verbose)
 
As you can see from the usage menu above, you'll need to pass it the 
upload id.  If you know the upload ids for each of the uploads you wish to 
delete, this would be the way to do it. 
 
Bob or Mark may have an easier solution.  anyone?
 
Mary
 
 

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
[email protected]
Sent: Tuesday, July 14, 2009 6:48 AM
To: [email protected]
Subject: [FOSSology] Delete files


Hello,

We have a lot of single files uploaded into fossology. We have currently 
about 200 single files on the system and there are in different folders. 
And now we don't need them any longer and would like to delete them. Do 
you have any idea how we can delete all of them immediatley?

Regards,
Heinz
If you are not the intended addressee, please inform us immediately that 
you have received this e-mail in error, and delete it. We thank you for 
your cooperation. 



If you are not the intended addressee, please inform us immediately that you 
have received this e-mail in error, and delete it. We thank you for your 
cooperation.  
_______________________________________________
fossology mailing list
[email protected]
http://fossology.org/mailman/listinfo/fossology

Reply via email to