Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why not "createfolderjson.py" and "importfolders.py"? #197

Open
AllanWTham opened this issue Dec 12, 2023 · 2 comments
Open

Why not "createfolderjson.py" and "importfolders.py"? #197

AllanWTham opened this issue Dec 12, 2023 · 2 comments

Comments

@AllanWTham
Copy link

Hi there,

Currently, there is an easy way to export caslibs and respective authorisation to a folder either using "createcaslibjson.py" or "exportcaslibs.py". Subsequently, use "importcaslibs.py" to import caslib and re-apply all authorisations.

Why not have the capability for folders? It would be so useful.
Imagine now, that I can specify a root folder and then export from root and all its sub folders to csv (together with authorisation). I can then bring the csv file to another test system and re-import them.

@gerrynelson63
Copy link
Member

gerrynelson63 commented Dec 21, 2023

Hi @AllanWTham , we do have createfolders.py that creates folders from a csv.

For exporting, exportfolder.py and exportfoldertree.py will export the folder structure and also included content.

Are you looking for something that generates the csv file that createfolders.py accepts, from the folders in a Viya environment?

@AllanWTham
Copy link
Author

Gerry,

Yes the output from the export should be easily ingested by createfolders.py if that makes sense without the need to further massage the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants