I've tried to create a script to loop through a folder and then clip the features. This works. My problem is that my new files are created in the same workspace (in my case Data) but I would like to save them in a different workspace (a geodatabase). 

```
# -*- coding: utf-8 -*-

import arcpy
import os
from arcpy import env

env.overwriteOutput = True

env.workspace = r"C:\Users\Victor\Carto\Data"

clip = r"C:\Users\Victor\Carto\XXX.shp"

list = arcpy.ListFeatureClasses()
print list

for l_list in list:
 filename = os.path.splitext(l_list)[0]
 clip_filename = filename + "_GL"
 arcpy.Clip_analysis(l_list, clip, clip_filename, 0)

```