Setting mime types as server attr, rather than each client
Our repository has a lot of files in it of type .xlf .
This is a form of XML -- but right not all of them have the file type of none / binary.
I want to change them to text / CRLF.
2 questions:
- It is possible to mass change these files at one time? The only way I've found to change them it to look at the properties of each file and change them one-by-one.
- Is there a way to set this file type on the server, so that all of the clients on our development team get a value of application/text for these file types? I know how to do it on my own workstation, but not change everyones' at once.
Thanks,
Greg
This is a form of XML -- but right not all of them have the file type of none / binary.
I want to change them to text / CRLF.
2 questions:
- It is possible to mass change these files at one time? The only way I've found to change them it to look at the properties of each file and change them one-by-one.
- Is there a way to set this file type on the server, so that all of the clients on our development team get a value of application/text for these file types? I know how to do it on my own workstation, but not change everyones' at once.
Thanks,
Greg
3 answers
For the first question (mass changes), you can multi-select the files
you want to change in the Package Explorer, right click on one of the
selected files, and select "Team -> Change_File_Properties". That will
allow you to change the type of all of the selected files in one operation.
For the second question (server-side declaration of mime types), you
could look at work item 139709. If that's the kind of thing you had in
mind, feel free to add a comment indicating your interest/support.
Cheers,
Geoff
On 1/16/2012 3:38 PM, gregsmit wrote:
you want to change in the Package Explorer, right click on one of the
selected files, and select "Team -> Change_File_Properties". That will
allow you to change the type of all of the selected files in one operation.
For the second question (server-side declaration of mime types), you
could look at work item 139709. If that's the kind of thing you had in
mind, feel free to add a comment indicating your interest/support.
Cheers,
Geoff
On 1/16/2012 3:38 PM, gregsmit wrote:
Our repository has a lot of files in it of type .xlf .
This is a form of XML -- but right not all of them have the file type
of none / binary.
I want to change them to text / CRLF.
2 questions:
- It is possible to mass change these files at one time? The only
way I've found to change them it to look at the properties of each
file and change them one-by-one.
- Is there a way to set this file type on the server, so that all of
the clients on our development team get a value of application/text
for these file types? I know how to do it on my own workstation, but
not change everyones' at once.
Thanks,
Greg
Hi Geoff,
Thanks -- being able to select all files will be really handy.
One follow up question: If I change all of the files at once to "application/text" and "MSDOS" format, when I check in, will all of the files be changed to the new line feeds?
IE, do I need to actually open the file and save them, for the linefeeds to be changed, or will just taking that action do it for me?
I'm going to be changing about 2000 files at once
Thanks,
Greg
Thanks -- being able to select all files will be really handy.
One follow up question: If I change all of the files at once to "application/text" and "MSDOS" format, when I check in, will all of the files be changed to the new line feeds?
IE, do I need to actually open the file and save them, for the linefeeds to be changed, or will just taking that action do it for me?
I'm going to be changing about 2000 files at once
Thanks,
Greg
When you apply this operation, it will modify all the files. Just
checkin and deliver your Unresolved changes, and it will deliver all
those changes to the stream in one operation (and one change set).
Cheers,
Geoff
On 1/17/2012 9:23 AM, gregsmit wrote:
checkin and deliver your Unresolved changes, and it will deliver all
those changes to the stream in one operation (and one change set).
Cheers,
Geoff
On 1/17/2012 9:23 AM, gregsmit wrote:
Hi Geoff,
Thanks -- being able to select all files will be really handy.
One follow up question: If I change all of the files at once to
"application/text" and "MSDOS" format, when I
check in, will all of the files be changed to the new line feeds?
IE, do I need to actually open the file and save them, for the
linefeeds to be changed, or will just taking that action do it for
me?
I'm going to be changing about 2000 files at once
Thanks,
Greg