How to delete all the .icls files - intellij-idea

I wanna aks is there a way to delete all the .icls file from the IntelliJ-idea-color scheme at once.
In which folder the imported files are stored

Related

How to delete files in subfolder in Amazon S3 using Apache Camel

I am using Apache Camel to upload and delete files from S3.
While uploading the files, if the file name has a '\', then it creates folders and subfolders and puts the files inside them.
.setHeader(AWS2S3Constants.KEY, simple("${header.FileName}"))
.setHeader(AWS2S3Constants.CONTENT_LENGTH, simple("${header.fileLength}"))
.to("aws2-s3://{{aws_bucket}}?deleteAfterWrite=false&region={{aws_region}}&accessKey={{aws_access_key}}&secretKey=RAW({{aws_access_secret}})")
But while deleting the files, if the file name has '\', then it is not able to delete the files from the respective subfolders.
.setHeader(AWS2S3Constants.KEY, simple("${header.FileName}"))
.setHeader(AWS2S3Constants.S3_OPERATION,constant("deleteObject"))
.to("aws2-s3://{{aws_bucket}}?region={{aws_region}}&accessKey={{aws_access_key}}&secretKey=RAW({{aws_access_secret}})&fileName=${header.FileName}")
Is there some property or something that I need to specify so that it deletes the files from the subfolders?

How to copy artifacts folder to ftp folder in TFS?

I'm trying to publish artifacts and it's other folders files as well.I've read all the docs file provide by microsoft from here and used them but none of them worked for me.
I' tried File patterns as
** =>which copied all root files to ftp
**\* => which copied all sub folders file to ftp's root directory.
What I've wanted is copy folder to folder in ftp aswell.
-artifacts ftp
--a.dll --a.dll
--subfolder --subfolder
---subfolder_1.dll ---subfolder_1.dll
what's happening is
ftp
--a.dll
--subfolder_1.dll
It's copying all sub directories file to root directory of ftp.
I've use curl and ftp both giving me same result.
How can i achieve folder to folder copy in TFS 2017.
It's not related File patterns, to upload the entire folder content recursively, simply specify **.
All you have to do is checking the Preserve file paths in Advanced option.
If selected, the relative local directory structure is recreated under
the remote directory where files are uploaded. Otherwise, files are
uploaded directly to the remote directory without creating additional
subdirectories.
For example, suppose your source folder is: /home/user/source/ and
contains the file: foo/bar/foobar.txt, and your remote directory
is: /uploads/. If selected, the file is uploaded to:
/uploads/foo/bar/foobar.txt. Otherwise, to: /uploads/foobar.txt.

How to prevent file from access if any file failed to write to a required folder

I have 3 xml file to be written to a folder for client. while writing the 2 files got written perfectly but 3rd file failed. what are the ways by which I can prevent the client to open any file or all the files got deleted or locked if anything failed?
If your application has delete privileges on the system, keep a record of the filenames to the files you're writing. If a file fails for whatever reason, go through the list of file names and delete the files from the directory. A simple string list with a for loop should do it.

Empty files on S3 prevent from downloading using s3cmd and s3sync

I am trying to setup a backup/restore using S3. The upload sync worked well using s3sync. However, next to each folder there is an empty file with matching name. I read somewhere that this is created to define the folder structure but I am not sure about that as it doesn't happen if I create a folder using a different method s3fox etc.
These empty files prevent me from restoring the directories/files. When I do s3cmd sync, I get an error message "can not make directory: File exists" as it first creates that empty file and that fails when trying to create the directory. Any ideas how I can solve this problem?

How can I filter which files are included in a workspace using MSBuild?

It seems that MsBuild creates a folder called, "BuildType" on the build server and this folder is where the .proj file is copied. In source control I have several files that are in the same folder as the build project file. I have a workspace mapped to this location.
I would like to be able to specify explicitly which files from this workspace location should be copied to the build machine. Is this possible?
Thanks!
You cannot do this on file level but if you organize your build type folder with subfolders you can cloak the folders that you want to exclude.