dataPath

2 replies [Last post]
Joined: 08/30/2011
Points: 65

Hi everyone,

I'm working on a bash script that will clear all the entries with the DELETED flag.

I tried to find with the doc and even in the source code where i could find the dataPath value for a entry but so far I'm not really successful.

Is this possible to get the path (not the URL) of a Entry?

I'm hosting Kaltura 4.0 CE with the api_v3.

Thanks for the answers
Mickael

Joined: 07/19/2009
Points: 178

Are you trying to write a generic script, or for your purpose only?
If its not generic, why not simply look in the content folder? (where all files are located)

Joined: 08/30/2011
Points: 65

I'm trying to do a generic script.

The path of the kaltura data is always [Kaltura Install Dir]/web/content/entries/data/4/216 ? (maybe i did some mistakes in the path because i'm not on the server at the moment)

What I want to do is a batch file that will delete all the entries that where deleted from the content management console. Kaltura delete function do not remove from the disk the data.