Somewhat outside of the box in regards to your request, but one thing you could do is convert it to virtual machine (P2V).
That way you can move it around easily and make multiple copies of it (well depends on how much data you have...).
You would keep your laptop and desktop really simple and clean with just the virtualisation software on on (I like KVM, but VirtualBox is good and free too).
Keep the complexity on the VM which can easily be backed up, and you can take snapshots before doing anything dodgy.
Discovery, automation and all that stuff should just be tools to make our lives easier.
When people design things to replace us it becomes an issue.
A good sign of a system designed to replace us is something that does things for us in a black box because it assumes we are too stupid to understand otherwise.
Just a tip, for doing CUDA and other stuff like that. Don't manually move bins as its a pain in the butt to remember for future updates/maint. Instead symlink them, or use your environment path variables.
Remember that the paths closest to the left are used before those on the right so you can have multiple versions of something, for example if you have ~/bin/foo and that will be used before /bin/foo (for a default PATH)
This is especially useful to know for CUDA or any resource where there are multiple versions. You don't want to get into the situation of needing to install/uninstall different versions for different projects (especially on multi-user environments).
I recommend install all the different versions required and using modules to set the required environment.
The file command is a utility native to most Linux installs. So if you have WP running on a Linux box, you should be able run the command file <blah> from a shell (or terminal).
It just lets you check what the file actually is. You can change the extension of the file, but most well programmed applications will ignore what's in the file name and check the "electronic file extension".
So the things to check are:
Make sure that the files is actually a swf file and not something else that has its extension changed.
Sometimes if a file type has different versions (see the above example is version 9), the mime type might not be correctly setup. For MediaWiki I had to add the extension to the correct section in the mime.types file. This might be a red herring as they are different applications.
Are you uploading it to allow people to download it, or to include it into a page?
EDIT
There seems to be plugins that allow you to upload unsafe file types. If you check out this post:
Best advice ever.
@OP - You always want to VM your test/dev environments because you want to be able to try stuff without the fear of it breaking your main box.
Also so nice to roll back to a working snapshot.
Don't be afraid to break stuff as breaking things means you know what breaks and can avoid it when it counts!
Somewhat outside of the box in regards to your request, but one thing you could do is convert it to virtual machine (P2V).
That way you can move it around easily and make multiple copies of it (well depends on how much data you have...).
You would keep your laptop and desktop really simple and clean with just the virtualisation software on on (I like KVM, but VirtualBox is good and free too).
Keep the complexity on the VM which can easily be backed up, and you can take snapshots before doing anything dodgy.
Discovery, automation and all that stuff should just be tools to make our lives easier.
When people design things to replace us it becomes an issue.
A good sign of a system designed to replace us is something that does things for us in a black box because it assumes we are too stupid to understand otherwise.
Just a tip, for doing CUDA and other stuff like that. Don't manually move bins as its a pain in the butt to remember for future updates/maint. Instead symlink them, or use your environment path variables.
Remember that the paths closest to the left are used before those on the right so you can have multiple versions of something, for example if you have ~/bin/foo and that will be used before /bin/foo (for a default PATH)
This is especially useful to know for CUDA or any resource where there are multiple versions. You don't want to get into the situation of needing to install/uninstall different versions for different projects (especially on multi-user environments).
I recommend install all the different versions required and using modules to set the required environment.
Whoops sorry to cause confusion.
The file command is a utility native to most Linux installs. So if you have WP running on a Linux box, you should be able run the command file <blah> from a shell (or terminal).
It just lets you check what the file actually is. You can change the extension of the file, but most well programmed applications will ignore what's in the file name and check the "electronic file extension".
So the things to check are:
Are you uploading it to allow people to download it, or to include it into a page?
EDIT
There seems to be plugins that allow you to upload unsafe file types. If you check out this post:
https://www.interserver.net/tips/kb/fix-wordpress-error-sorry-file-type-not-permitted-security-reasons/
/EDIT