File Actions
Last updated
Last updated
“File Actions” are the actions available to manipulate files in Data Studio, such as creating folders, moving files between folders, editing metadata (such as read and write groups and tags) and deleting files. These actions can be automated using “File Jobs”, allowing for efficient file management and data processing tasks.
Check out the documentation below:
To create a new folder, follow these steps:
Open Data Studio and navigate to the directory where you want to create the folder.
Click on the “Create new folder” option.
Enter the name of the folder and click on “Create”.
The new folder will appear in the directory you selected.
To upload files through the interface, follow these steps:
Open Data Studio and click on the desired directory.
Click on the "Send file" option.
Select or drag the desired file.
Only one file can be uploaded at a time, and the accepted formats are .csv, .gzip, .json, .parquet, and .xlsx.
Choose the read and write groups. By default, the group is set to default.
If desired, you can also add tags.
To finish, click on "Upload file".
After the upload, the file will be displayed in the directory.
To move a file, follow these steps:
Open Data Studio and navigate to the desired directory.
Use the checkboxes listed next to the file names to select one or more files. You can also select all the files by clicking on the checkbox next to the “File name” column.
With the files selected, click on “Move”.
Choose the new directory and click on “Save”.
To edit the metadata, follow these steps:
Open Data Studio and navigate to the directory where the file is located.
Select the desired file.
Choose the option to “Edit metadata”.
You can edit the following fields:
Read groups: define which groups can read the file
Write groups: define which groups can write
Tags: This is a way of categorizing and filtering files.
When you edit the metadata, the new definitions will replace the previous information. For example: if you change the tag of a file, the read and write group information will remain the same, but the tag will be changed.
To finish, click on “Save”.
You can then run the “File Job” to apply the metadata changes to the file.
In addition, you can create a File Job Execute module in the flow to automate the process of editing file metadata.
To delete a file, follow these steps:
Open Data Studio and navigate to the directory where the file is located.
Select the desired file.
Choose the “Delete” option.
Confirm the deletion by typing 'delete'.
To access the hidden folder, you must:
In the directory, click on enlarge screen.
Click on the down arrow in the top left corner.
Click on “Hidden”.
You will now have access to the deleted files.
Read more about ""