December 20th, 2007

Removing fla files from the bin folder in Flex

I am working on a project right now that has about a million fla / swf asset files. we have all of them in an assets folder in the project and when it builds we get all of those flas copied into the bin folder and then when we upload the test site there are all of these flas all over the place in different folders taking up about a gig or so that we obviously don't want to push to the server.

so with this little command in the command line we can remove all of the flas before we upload in all folders in the bin. You just have to do cd path/to/project and then run that commmand.

CODE:
  1. find bin -name "*.fla" -exec rm '{}' \;

hope that helps =)

Leave a Reply

Network


Latest Work

Work Image
Call the Play Football
Don't just watch TV, play TV
Work Image
NBA Realtime Fantasay
Don't just watch TV, play TV

Work Image
Beanie Babies 2.0
The all new Beanie Babies

Upcoming Events

  • There are no upcoming events

Misc





Categories

  • conferences (5)
  • dev tools (9)
  • flash (7)
  • flex (3)
  • gaming (3)
  • general (10)
  • LA Flash (1)
  • remoting (1)
  • upcoming events (1)
  • Windows (1)