Dimensions dmcli: is it possible to upload files on a subfolder of a project? - serena

The subject says it all. I have a bunch of files in a local workspace: I am able to select the ones I want with /USER_FILTER parameter, but they are saved related to the root folder of the workset, while I would like to put them in a subfolder.
Apart from moving those files in a local subfolder with the corrisponding name so that they will be put in the correct place, is there some other way to do this from within dmcli?

Related

Is there no way to quickly copy/consolidate all files outside of project folder?

I've been dragging a few assets into my project in Xcode, and while I know you can check that box for 'copy items if needed', that doesn't always show up and so I end up with files that are located in scattered locations on my hard drive. I know I could manually put the files in the project folder, but is there no way to automatically copy external files to an internal location?

Moving files into a sub directory talend automatic

I want to move folders into another directory using talend. Right now I have the folders inside a directory, and I want to move them into another sub-directory before starting my work on them.
Any ideas how
You can use the tFileList component to iterate on the files in the specified source directory and tFileCopy component to move the files as shown below. Make sure that the File Name is grabbed from the tFileList as shown and that the Remove Source File is selected to remove the file from the original directory. Hope this helps.

How to show folder tree in Google Picker

I want to show in google.picker.DocsView both my and shared with me files and folders, with the folder structure.
If I do not add setIncludeFolders(true), all files are listed, but folders are missing.
If I add setIncludeFolders(true), files and folders of all levels are listed.
I can add .setOwnedByMe(true) or .setOwnedByMe(false). This fixes the folders structure issue. But in this case I cannot show both my and shared with me files in one view.
Or I can add .setParent('root'). But then shared files and folders are missing.
Is it possible to show all files and folders, but respecting the folder structure?

Publish empty sub folder in MVC5

I have a ASP.Net MVC 5 application. In this application I have an "Images" folder. As a sub folder, I have a "logos" folder which will be filled out by the application when requested.
When I publish (on file system), the sub folder is NOT published.
How can I publish this empty folder (without having to add a "dummy" image)?
Thanks.
Last I knew there was no way around this, and the VS team were aware. I get around it by putting an "empty" web.config in the folder.
I do not understand the need to publish an Empty folder,
Why not just try and create the folder on startup (or when needed)?
System.IO.Directory.CreateDirectory(Server.MapPath("~/images"));
It is not even needed to check if it pre-exists as the docs suggest
Any and all directories specified in path are created, unless they
already exist or unless some part of path is invalid. The path
parameter specifies a directory path, not a file path. If the
directory already exists, this method does nothing.

Xcode organization in finder?

I have read all the suggested StackOverflow posts on this question. It bothers me that Xcode will not organize my files in the finder the same way it does in the editor view...it will only do that if I copy files in from an external source and specifically tell it how I want things organized. Is there a way to make Xcode have the Finder respect the same organization as a default? I'd love to create a directory and then a file in that directory, and see the changes in both places.
I hate opening a project and seeing ALL my files in one place.
If you want your Groups structure in Xcode to mirror your Directories structure in the file system (which is also the Folders structure in the Finder), you have to take the following steps when adding files that you want to go into Groups/Subdirectories:
Create the folder in the Finder (or the directory from the command line)
Drag that folder into your Xcode project. Import it as a Group. Make sure its reference style is Relative to Enclosing Group, and that you drop it into the Group that represents its parent directory.
To add new files, select the Group and choose Add Files. The files will be stored in the directory that that Group represents, and they will be within that Group in the Xcode UI.
If your files are not yet under SCM control, one thing you can do is just delete them all from the Xcode project, rearrange them on disk however you want, then drag all the folders and files back in, making sure to not make copies, to create groups, and to set the reference style to Relative to Enclosing Group.

Resources