Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites".

#1 Le 05/12/2012, à 18:55

lanzrg

[bash] Dézipper le contenu d'un dossier d'un .zip ?

Hello world,

Je veux automatiser le téléchargement et l'aménagement de divers frameworks PHP.
Pour le download, c'est assez simple, mais pour dézipper c'est plus complexe.

J'aimerais une fonction qui désarchiverai le contenu du premier dossier qu'elle trouve dans un .zip.
Donc désarchiver uniquement contenu1, contenu2, ...

monArchive.zip
    nomDuDossierInconnu
        contenu1
        contenu2
        ...

Un truc du genre avec une expression régulière :
(ce code ne marche pas)

unzip monFramework.zip '(.*)/*'

Merci d'avance !

Dernière modification par lanzrg (Le 05/12/2012, à 18:55)

Hors ligne

#2 Le 05/12/2012, à 22:57

elendil

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Salut,

Si j'ai bien tout compris tu veux deziper le premier dossier d'une archive mais tu ne connais pas le nom de ce dossier ?

Bon je pense que j'ai une solution mais il doit exister beaucoup plus propre :

## Récupération du nom du premier dossier de ton archive
REP=$(echo -e $(unzip -qql monFramework.zip | awk '{print $4}') | awk '{print $1}') 
## On doit certainement pouvoir faire mieux mais je fais mes premiers pas avec awk
REP=${REP%%/*}

## dezip du dossier voulu
unzip monFramework.zip $REP/*

Edit: Ne fonctionne que si la première occurrence dans la liste du contenue de l'archive est un dossier....
Il faut ajouter un test dans awk pour savoir si c'est un dossier ou non . . .
À revoir !

Elendil

Dernière modification par elendil (Le 05/12/2012, à 22:59)

Hors ligne

#3 Le 05/12/2012, à 23:00

xavier4811

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Avec awk tu peut renvoyer plusieurs champs sur la même commande

awk '{print $4 $1}'

Asus M5A88-v EVO:AMD Phenom II X4 960T BE:16 Go DDR3:Precise Pangolin
HP dv7-3145ef:i5-430M:4 Go DDR3:Oracle Linux 6.4
EMachine EM350:Atom N450:1 Go DDR2:Debian Wheezy
Et Red Hat EL6 live fait maison a partir des sources.

Hors ligne

#4 Le 06/12/2012, à 00:19

xavier4811

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

ça doit pouvoir encore se simplifier

REP=monFramework.zip && REP=$(echo ${REP//\.zip/})

Asus M5A88-v EVO:AMD Phenom II X4 960T BE:16 Go DDR3:Precise Pangolin
HP dv7-3145ef:i5-430M:4 Go DDR3:Oracle Linux 6.4
EMachine EM350:Atom N450:1 Go DDR2:Debian Wheezy
Et Red Hat EL6 live fait maison a partir des sources.

Hors ligne

#5 Le 06/12/2012, à 01:26

xavier4811

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Finalement :

REP=$(unzip -qql monArchive.zip | awk -F" *|/" '! /*\.*/ { if ($5) print $5; exit }')
## ou alors
REP=$(unzip -qql monArchive.zip | awk -F" *|/" '! /(*\.[[:alnum:]]{1,3})/ { if ($5) print $5; exit }')
if [ ! -z $REP ]; then unzip monArchive.zip $REP/* -d $REP; else unzip monArchive.zip ;fi

S'il n'y a pas de premier répertoire, c'est toute l'archive qui est extraite.

A tester.

Dernière modification par xavier4811 (Le 06/12/2012, à 01:47)


Asus M5A88-v EVO:AMD Phenom II X4 960T BE:16 Go DDR3:Precise Pangolin
HP dv7-3145ef:i5-430M:4 Go DDR3:Oracle Linux 6.4
EMachine EM350:Atom N450:1 Go DDR2:Debian Wheezy
Et Red Hat EL6 live fait maison a partir des sources.

Hors ligne

#6 Le 06/12/2012, à 03:27

lanzrg

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

J'ai essayé avec le framework Laravel : http://laravel.com/download, mais hélas ça ne marche pas.

Il n'y a pas un moyen, en bash, de créer un tableau de contenu d'une archive zip ?
Et faire ensuite un truc du genre :

tab[0] = le dossier dont le contenu doit être extrait.
unzip monFramework.zip $tab[0]/*

Hors ligne

#7 Le 06/12/2012, à 10:50

elendil

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Dans ton exemple, l'archive laravel contient tout ça :

Archive:  laravel-laravel-v3.2.12-4-gf25d09d.zip
f25d09dd07d1241400f5a55bc7c9b8a2a68e75ac
  Length     Date   Time    Name
 --------    ----   ----    ----
        0  12-03-12 10:32   laravel-laravel-f25d09d/
       11  12-03-12 10:32   laravel-laravel-f25d09d/.gitattributes
      343  12-03-12 10:32   laravel-laravel-f25d09d/.gitignore
       60  12-03-12 10:32   laravel-laravel-f25d09d/.travis.yml
     1395  12-03-12 10:32   laravel-laravel-f25d09d/CONTRIBUTING.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/
     1330  12-03-12 10:32   laravel-laravel-f25d09d/application/bundles.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/config/
        7  12-03-12 10:32   laravel-laravel-f25d09d/application/config/.gitignore
     6641  12-03-12 10:32   laravel-laravel-f25d09d/application/config/application.php
     2269  12-03-12 10:32   laravel-laravel-f25d09d/application/config/auth.php
     2253  12-03-12 10:32   laravel-laravel-f25d09d/application/config/cache.php
     3407  12-03-12 10:32   laravel-laravel-f25d09d/application/config/database.php
     2162  12-03-12 10:32   laravel-laravel-f25d09d/application/config/error.php
     3657  12-03-12 10:32   laravel-laravel-f25d09d/application/config/mimes.php
     3276  12-03-12 10:32   laravel-laravel-f25d09d/application/config/session.php
     4929  12-03-12 10:32   laravel-laravel-f25d09d/application/config/strings.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/controllers/
      294  12-03-12 10:32   laravel-laravel-f25d09d/application/controllers/base.php
      995  12-03-12 10:32   laravel-laravel-f25d09d/application/controllers/home.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ar/
      503  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ar/pagination.php
     5684  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ar/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/bg/
      510  12-03-12 10:32   laravel-laravel-f25d09d/application/language/bg/pagination.php
     6038  12-03-12 10:32   laravel-laravel-f25d09d/application/language/bg/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/da/
      506  12-03-12 10:32   laravel-laravel-f25d09d/application/language/da/pagination.php
     4730  12-03-12 10:32   laravel-laravel-f25d09d/application/language/da/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/de/
      505  12-03-12 10:32   laravel-laravel-f25d09d/application/language/de/pagination.php
     4950  12-03-12 10:32   laravel-laravel-f25d09d/application/language/de/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/el/
      524  12-03-12 10:32   laravel-laravel-f25d09d/application/language/el/pagination.php
     6497  12-03-12 10:32   laravel-laravel-f25d09d/application/language/el/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/en/
      500  12-03-12 10:32   laravel-laravel-f25d09d/application/language/en/pagination.php
     4659  12-03-12 10:32   laravel-laravel-f25d09d/application/language/en/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fi/
      504  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fi/pagination.php
     4781  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fi/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fr/
      507  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fr/pagination.php
     4992  12-03-12 10:32   laravel-laravel-f25d09d/application/language/fr/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/gr/
      524  12-03-12 10:32   laravel-laravel-f25d09d/application/language/gr/pagination.php
     6497  12-03-12 10:32   laravel-laravel-f25d09d/application/language/gr/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/he/
      506  12-03-12 10:32   laravel-laravel-f25d09d/application/language/he/pagination.php
     5441  12-03-12 10:32   laravel-laravel-f25d09d/application/language/he/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/hu/
      505  12-03-12 10:32   laravel-laravel-f25d09d/application/language/hu/pagination.php
     4841  12-03-12 10:32   laravel-laravel-f25d09d/application/language/hu/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/id/
      509  12-03-12 10:32   laravel-laravel-f25d09d/application/language/id/pagination.php
     4725  12-03-12 10:32   laravel-laravel-f25d09d/application/language/id/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/it/
      508  12-03-12 10:32   laravel-laravel-f25d09d/application/language/it/pagination.php
     4814  12-03-12 10:32   laravel-laravel-f25d09d/application/language/it/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ja/
     1001  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ja/pagination.php
     7977  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ja/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/nl/
      503  12-03-12 10:32   laravel-laravel-f25d09d/application/language/nl/pagination.php
     4373  12-03-12 10:32   laravel-laravel-f25d09d/application/language/nl/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pl/
      542  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pl/pagination.php
     4765  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pl/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pt/
      504  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pt/pagination.php
     4271  12-03-12 10:32   laravel-laravel-f25d09d/application/language/pt/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ru/
      501  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ru/pagination.php
     5713  12-03-12 10:32   laravel-laravel-f25d09d/application/language/ru/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sr/
      499  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sr/pagination.php
     4776  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sr/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sv/
      506  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sv/pagination.php
     4907  12-03-12 10:32   laravel-laravel-f25d09d/application/language/sv/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/language/tr/
      690  12-03-12 10:32   laravel-laravel-f25d09d/application/language/tr/pagination.php
     4474  12-03-12 10:32   laravel-laravel-f25d09d/application/language/tr/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/libraries/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/libraries/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/migrations/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/migrations/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/models/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/models/.gitignore
     2769  12-03-12 10:32   laravel-laravel-f25d09d/application/routes.php
     5653  12-03-12 10:32   laravel-laravel-f25d09d/application/start.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/tasks/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/tasks/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/tests/
      209  12-03-12 10:32   laravel-laravel-f25d09d/application/tests/example.test.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/views/
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/views/error/
     4514  12-03-12 10:32   laravel-laravel-f25d09d/application/views/error/404.php
     4488  12-03-12 10:32   laravel-laravel-f25d09d/application/views/error/500.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/application/views/home/
     1482  12-03-12 10:32   laravel-laravel-f25d09d/application/views/home/index.blade.php
      786  12-03-12 10:32   laravel-laravel-f25d09d/artisan
        0  12-03-12 10:32   laravel-laravel-f25d09d/bundles/
        0  12-03-12 10:32   laravel-laravel-f25d09d/bundles/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/
        0  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/libraries/
    83475  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/libraries/markdown.php
     1695  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/routes.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/views/
       74  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/views/page.blade.php
      923  12-03-12 10:32   laravel-laravel-f25d09d/bundles/docs/views/template.blade.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/
     8409  12-03-12 10:32   laravel-laravel-f25d09d/laravel/asset.php
     1864  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth/drivers/
     4330  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth/drivers/driver.php
     1729  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth/drivers/eloquent.php
     1605  12-03-12 10:32   laravel-laravel-f25d09d/laravel/auth/drivers/fluent.php
     5460  12-03-12 10:32   laravel-laravel-f25d09d/laravel/autoloader.php
    10806  12-03-12 10:32   laravel-laravel-f25d09d/laravel/blade.php
    11263  12-03-12 10:32   laravel-laravel-f25d09d/laravel/bundle.php
     2471  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/
     1504  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/apc.php
     2471  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/database.php
     2464  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/driver.php
     1965  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/file.php
     3386  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/memcached.php
     2594  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/memory.php
     1573  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/redis.php
     3013  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cache/drivers/sectionable.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/
     1388  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/artisan.php
     4930  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/command.php
     3384  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/dependencies.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/
     4811  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/bundler.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/providers/
      401  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/providers/github.php
     1940  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/providers/provider.php
     1188  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/publisher.php
      668  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/bundle/repository.php
     1994  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/help.json
      610  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/help.php
     1113  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/key.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/migrate/
     1834  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/migrate/database.php
     6417  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/migrate/migrator.php
     4564  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/migrate/resolver.php
      233  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/migrate/stub.php
     1199  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/route.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/session/
     2387  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/session/manager.php
      739  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/session/migration.php
       58  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/task.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/test/
      819  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/test/phpunit.php
     3213  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/test/runner.php
      235  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cli/tasks/test/stub.xml
     6193  12-03-12 10:32   laravel-laravel-f25d09d/laravel/config.php
     4045  12-03-12 10:32   laravel-laravel-f25d09d/laravel/cookie.php
     8170  12-03-12 10:32   laravel-laravel-f25d09d/laravel/core.php
     3852  12-03-12 10:32   laravel-laravel-f25d09d/laravel/crypter.php
     4048  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/
     8214  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connection.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/
      890  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/connector.php
     1311  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/mysql.php
     1502  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/postgres.php
      734  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/sqlite.php
     1133  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/connectors/sqlserver.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/
    18173  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/model.php
      726  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/pivot.php
     6998  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/query.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/
     2478  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/belongs_to.php
     2671  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/has_many.php
    10555  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/has_many_and_belongs_to.php
     1098  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/has_one.php
     1431  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/has_one_or_many.php
     2681  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/eloquent/relationships/relationship.php
      914  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/exception.php
      607  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/expression.php
     4111  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/grammar.php
    21965  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/
    12174  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/grammar.php
      195  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/mysql.php
      431  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/postgres.php
      462  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/sqlite.php
     3612  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/grammars/sqlserver.php
     1174  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/query/join.php
     4861  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/
     3100  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/grammar.php
     9323  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/mysql.php
     9346  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/postgres.php
     7951  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/sqlite.php
     9736  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/grammars/sqlserver.php
     7904  12-03-12 10:32   laravel-laravel-f25d09d/laravel/database/schema/table.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/artisan/
     3816  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/artisan/commands.md
     2369  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/artisan/tasks.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/auth/
     1777  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/auth/config.md
     3392  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/auth/usage.md
     9061  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/bundles.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/cache/
     3476  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/cache/config.md
     2468  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/cache/usage.md
    14619  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/changes.md
      846  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/config.md
     4474  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/contents.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/contrib/
     6612  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/contrib/command-line.md
     3494  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/contrib/github.md
     6089  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/contrib/tortoisegit.md
     8846  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/controllers.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/
     3510  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/config.md
    21717  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/eloquent.md
     8891  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/fluent.md
     2463  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/migrations.md
     1617  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/raw.md
     2381  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/redis.md
     6325  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/database/schema.md
      858  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/encryption.md
     3304  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/events.md
     2199  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/files.md
     7598  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/home.md
     4846  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/input.md
     6814  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/install.md
     1948  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/ioc.md
     2860  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/loading.md
     3007  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/localization.md
     1894  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/logging.md
     5278  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/models.md
     1568  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/requests.md
    11721  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/routing.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/session/
     3875  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/session/config.md
     2323  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/session/usage.md
     2104  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/strings.md
     2427  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/testing.md
     2294  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/urls.md
    16344  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/validation.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/
     3746  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/assets.md
     4337  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/forms.md
     8315  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/home.md
     3736  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/html.md
     3332  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/pagination.md
     5268  12-03-12 10:32   laravel-laravel-f25d09d/laravel/documentation/views/templating.md
     3104  12-03-12 10:32   laravel-laravel-f25d09d/laravel/error.php
     5143  12-03-12 10:32   laravel-laravel-f25d09d/laravel/event.php
     7846  12-03-12 10:32   laravel-laravel-f25d09d/laravel/file.php
     1798  12-03-12 10:32   laravel-laravel-f25d09d/laravel/fluent.php
    14787  12-03-12 10:32   laravel-laravel-f25d09d/laravel/form.php
     1194  12-03-12 10:32   laravel-laravel-f25d09d/laravel/hash.php
    12699  12-03-12 10:32   laravel-laravel-f25d09d/laravel/helpers.php
    10826  12-03-12 10:32   laravel-laravel-f25d09d/laravel/html.php
     6584  12-03-12 10:32   laravel-laravel-f25d09d/laravel/input.php
     5676  12-03-12 10:32   laravel-laravel-f25d09d/laravel/ioc.php
     6102  12-03-12 10:32   laravel-laravel-f25d09d/laravel/lang.php
     7110  12-03-12 10:32   laravel-laravel-f25d09d/laravel/laravel.php
     1955  12-03-12 10:32   laravel-laravel-f25d09d/laravel/log.php
     1573  12-03-12 10:32   laravel-laravel-f25d09d/laravel/memcached.php
     4039  12-03-12 10:32   laravel-laravel-f25d09d/laravel/messages.php
    10406  12-03-12 10:32   laravel-laravel-f25d09d/laravel/paginator.php
     3492  12-03-12 10:32   laravel-laravel-f25d09d/laravel/pluralizer.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/profiling/
     8540  12-03-12 10:32   laravel-laravel-f25d09d/laravel/profiling/profiler.css
     4792  12-03-12 10:32   laravel-laravel-f25d09d/laravel/profiling/profiler.js
     4981  12-03-12 10:32   laravel-laravel-f25d09d/laravel/profiling/profiler.php
     3588  12-03-12 10:32   laravel-laravel-f25d09d/laravel/profiling/template.blade.php
     4642  12-03-12 10:32   laravel-laravel-f25d09d/laravel/redirect.php
     6284  12-03-12 10:32   laravel-laravel-f25d09d/laravel/redis.php
     5600  12-03-12 10:32   laravel-laravel-f25d09d/laravel/request.php
     8438  12-03-12 10:32   laravel-laravel-f25d09d/laravel/response.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/routing/
    11062  12-03-12 10:32   laravel-laravel-f25d09d/laravel/routing/controller.php
     8079  12-03-12 10:32   laravel-laravel-f25d09d/laravel/routing/filter.php
     9342  12-03-12 10:32   laravel-laravel-f25d09d/laravel/routing/route.php
    15569  12-03-12 10:32   laravel-laravel-f25d09d/laravel/routing/router.php
     2637  12-03-12 10:32   laravel-laravel-f25d09d/laravel/section.php
     3300  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/
     1056  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/apc.php
     1079  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/cookie.php
     2055  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/database.php
     1780  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/driver.php
     1541  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/file.php
     1139  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/memcached.php
      768  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/memory.php
     1077  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/redis.php
      220  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/drivers/sweeper.php
     7988  12-03-12 10:32   laravel-laravel-f25d09d/laravel/session/payload.php
     8749  12-03-12 10:32   laravel-laravel-f25d09d/laravel/str.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/
     1343  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/bundles.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/
     5187  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/application.php
     2270  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/auth.php
     2257  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/cache.php
     2926  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/database.php
     2223  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/error.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/local/
       49  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/local/database.php
     3657  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/mimes.php
     3267  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/session.php
     4929  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/config/strings.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/admin/
      128  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/admin/panel.php
      238  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/auth.php
     2026  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/filter.php
     1209  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/home.php
      200  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/restful.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/template/
      139  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/template/basic.php
      139  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/template/named.php
      282  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/controllers/template/override.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/dashboard/
      150  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/dashboard/repository.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/en/
      500  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/en/pagination.php
     4137  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/en/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/sp/
       78  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/language/sp/validation.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/libraries/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/libraries/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/migrations/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/migrations/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/.gitignore
       36  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/autoloader.php
      250  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/model.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/repositories/
       44  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/repositories/user.php
       20  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/models/user.php
     2256  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/routes.php
     5197  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/start.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/tasks/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/tasks/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/error/
     1936  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/error/404.php
     1910  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/error/500.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/home/
     2442  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/home/index.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/tests/
       43  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/tests/basic.php
        6  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/application/views/tests/nested.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/config/
       51  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/config/meta.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/controllers/
      136  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/controllers/panel.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/models/
      150  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/models/repository.php
      119  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dashboard/routes.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dummy/
       90  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dummy/routes.php
       40  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/bundles/dummy/start.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/
     6498  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/asset.test.php
     8361  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/auth.test.php
     2424  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/autoloader.test.php
     4809  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/blade.test.php
     6288  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/bundle.test.php
     1816  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/config.test.php
     6279  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/controller.test.php
     3143  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/cookie.test.php
     1554  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/database.test.php
     7026  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/eloquent.test.php
      864  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/event.test.php
     1089  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/fluent.test.php
    16160  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/form.test.php
      638  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/hash.test.php
     8486  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/html.test.php
     3969  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/input.test.php
     1348  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/ioc.test.php
     1674  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/lang.test.php
     2627  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/messages.test.php
      783  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/query.test.php
     4078  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/redirect.test.php
     3604  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/request.test.php
     2157  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/response.test.php
     4194  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/route.test.php
     5397  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/routing.test.php
    10978  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/session.test.php
     3335  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/str.test.php
     1522  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/uri.test.php
     4207  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/url.test.php
    19598  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/validator.test.php
     5113  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/cases/view.test.php
     1166  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/phpunit.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/cache/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/cache/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/database/
   196608  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/database/application.sqlite
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/files/
   845941  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/files/desert.jpg
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/logs/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/logs/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/sessions/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/sessions/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/views/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/tests/storage/views/.gitignore
     2042  12-03-12 10:32   laravel-laravel-f25d09d/laravel/uri.php
     8870  12-03-12 10:32   laravel-laravel-f25d09d/laravel/url.php
    29323  12-03-12 10:32   laravel-laravel-f25d09d/laravel/validator.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/
    30857  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Application.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Command/
    16379  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Command/Command.php
     2257  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Command/HelpCommand.php
     2544  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Command/ListCommand.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Formatter/
     4844  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Formatter/OutputFormatter.php
     1730  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Formatter/OutputFormatterInterface.php
     5848  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Formatter/OutputFormatterStyle.php
     1407  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Formatter/OutputFormatterStyleInterface.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/
     4084  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/DialogHelper.php
     2673  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/FormatterHelper.php
      936  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/Helper.php
      990  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/HelperInterface.php
     2423  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Helper/HelperSet.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/
     9321  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/ArgvInput.php
     5393  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/ArrayInput.php
     5774  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/Input.php
     3283  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/InputArgument.php
    16730  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/InputDefinition.php
     4021  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/InputInterface.php
     5440  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/InputOption.php
     2607  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Input/StringInput.php
     1065  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/LICENSE
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/
     2354  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/ConsoleOutput.php
      738  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/ConsoleOutputInterface.php
      713  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/NullOutput.php
     4846  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/Output.php
     2512  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/OutputInterface.php
     3329  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Output/StreamOutput.php
     1533  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/README.md
     5845  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Shell.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Tester/
     2715  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Tester/ApplicationTester.php
     2566  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/Tester/CommandTester.php
      701  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/Console/composer.json
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/
     1147  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/ApacheRequest.php
     4960  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Cookie.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/
      706  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/AccessDeniedException.php
      475  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/FileException.php
      699  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/FileNotFoundException.php
      573  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/UnexpectedTypeException.php
      470  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/Exception/UploadException.php
     3670  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/File.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/
     2515  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesser.php
      668  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/ExtensionGuesserInterface.php
     2235  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/FileBinaryMimeTypeGuesser.php
     1439  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/FileinfoMimeTypeGuesser.php
    33899  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php
     3389  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesser.php
      831  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeGuesserInterface.php
     6059  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/File/UploadedFile.php
     4247  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/FileBag.php
     7735  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/HeaderBag.php
     1250  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/JsonResponse.php
     1065  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/LICENSE
     1153  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/LaravelRequest.php
      669  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/LaravelResponse.php
     7540  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/ParameterBag.php
     1347  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/README.md
     2166  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/RedirectResponse.php
    39302  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Request.php
     5364  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/RequestMatcher.php
      785  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/RequestMatcherInterface.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Resources/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Resources/stubs/
     2344  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Resources/stubs/SessionHandlerInterface.php
    28500  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Response.php
     8239  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/ResponseHeaderBag.php
     1398  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/ServerBag.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Attribute/
     2552  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBag.php
     1475  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Attribute/AttributeBagInterface.php
     3815  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Attribute/NamespacedAttributeBag.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Flash/
     3598  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Flash/AutoExpireFlashBag.php
     2704  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Flash/FlashBag.php
     1709  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Flash/FlashBagInterface.php
     6536  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Session.php
      854  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/SessionBagInterface.php
     3213  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/SessionInterface.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/
     3695  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcacheSessionHandler.php
     3399  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/MemcachedSessionHandler.php
     1036  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeFileSessionHandler.php
     1941  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeMemcacheSessionHandler.php
     1949  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeMemcachedSessionHandler.php
      563  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeSessionHandler.php
     1518  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NativeSqliteSessionHandler.php
     1201  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/NullSessionHandler.php
     6938  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Handler/PdoSessionHandler.php
     4252  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/MockArraySessionStorage.php
     2774  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/MockFileSessionStorage.php
    10096  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Proxy/
     2502  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Proxy/AbstractProxy.php
      934  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Proxy/NativeProxy.php
     1919  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php
     2892  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/Session/Storage/SessionStorageInterface.php
     2969  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/StreamedResponse.php
      841  12-03-12 10:32   laravel-laravel-f25d09d/laravel/vendor/Symfony/Component/HttpFoundation/composer.json
    12990  12-03-12 10:32   laravel-laravel-f25d09d/laravel/view.php
     2232  12-03-12 10:32   laravel-laravel-f25d09d/license.txt
     5356  12-03-12 10:32   laravel-laravel-f25d09d/paths.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/
      792  12-03-12 10:32   laravel-laravel-f25d09d/public/.htaccess
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/bundles/
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/bundles/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/css/
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/css/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/favicon.ico
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/img/
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/img/.gitignore
     1156  12-03-12 10:32   laravel-laravel-f25d09d/public/index.php
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/js/
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/js/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/css/
     7422  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/css/style.css
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/img/
    10295  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/img/logoback.png
        0  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/js/
    15274  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/js/modernizr-2.5.3.min.js
    55889  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/js/prettify.js
     7816  12-03-12 10:32   laravel-laravel-f25d09d/public/laravel/js/scroll.js
     1491  12-03-12 10:32   laravel-laravel-f25d09d/readme.md
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/cache/
       13  12-03-12 10:32   laravel-laravel-f25d09d/storage/cache/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/database/
        8  12-03-12 10:32   laravel-laravel-f25d09d/storage/database/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/logs/
       13  12-03-12 10:32   laravel-laravel-f25d09d/storage/logs/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/sessions/
       13  12-03-12 10:32   laravel-laravel-f25d09d/storage/sessions/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/views/
       13  12-03-12 10:32   laravel-laravel-f25d09d/storage/views/.gitignore
        0  12-03-12 10:32   laravel-laravel-f25d09d/storage/work/
       13  12-03-12 10:32   laravel-laravel-f25d09d/storage/work/.gitignore
 --------                   -------
  2835026                   579 files

Quel est exactement le dossier que tu veux extraire ?
Si c'est le premier dossier dans ce cas là ce sera le dossier application non ?

Si c'est bien le dossier application voici un code qui devrait fonctionner :

## On récupère tous les dossier de l'archive
ALLREP=$(unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip | awk '{if ($4~/\/$/) {n=split($4,array,"/"); if (n==3) print $4, n}}')
## On extrait le premier dossier
REP=${ALLREP%% 3*}
## On dézippe
unzip laravel-laravel-v3.2.12-4-gf25d09d.zip $REP*

En espérant que ça fonctionne....


EDIT:
On peut remplacer les deux premières lignes de code par celle là :

## On récupère directement le premier dossier de l'archive
REP=$(unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip | awk '{if ($4~/\/$/) { if (split($4,array,"/")==3) {print $4; exit}}}')
## On dézippe
unzip laravel-laravel-v3.2.12-4-gf25d09d.zip $REP*

Dernière modification par elendil (Le 06/12/2012, à 11:25)

Hors ligne

#8 Le 06/12/2012, à 13:15

lanzrg

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Non je veux extraire ce qu'il y  a dans le dossier laravel-laravel-f25d09d (laravel-laravel-f25d09d/*).

Mais j'aimerais une fonction qui soit généraliste qui ferait :

Tu trouve un dossier dans l'archive (quelque soit son nom), extrait tout son contenu.

Hors ligne

#9 Le 06/12/2012, à 16:27

elendil

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Celui-là devrait faire l'affaire (il suffit de jouer avec le ==2 au lieu de ==3 pour prendre un dossier avant)

## On récupère directement le premier dossier de l'archive
REP=$(unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip | awk '{if ($4~/\/$/) { if (split($4,array,"/")==2) {print $4; exit}}}')
## On dézippe
unzip laravel-laravel-v3.2.12-4-gf25d09d.zip $REP*

Hors ligne

#10 Le 06/12/2012, à 17:54

lanzrg

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Merci beaucoup ! J'ai encore du mal à comprendre, faut dire que la syntaxe est un peu WTF.

Le problème c'est que ça me dézippe aussi le dossier et je ne veux que son contenu.
Cette commande m'extrait le dossier et son contenu comment n'avoir que le contenu ? (*)

unzip laravel-laravel-v3.2.12-4-gf25d09d.zip laravel-laravel-f25d09d/*

Hors ligne

#11 Le 06/12/2012, à 20:30

elendil

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Une solution plus rapide aurait été de faire directement :

## On récupère directement le premier dossier de l'archive
REP=$(unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip | awk '{if ($4~/\/$/) { if (split($4,array,"/")==2) {print $4; exit}}}')
## On dézippe
unzip laravel-laravel-v3.2.12-4-gf25d09d.zip $REP*
## On déplace le contenue de $REP directement ici
mv $REP* .
## suppression de $REP
rm -r $REP

Pour ce qui ai de la première commande, voici un peu d'explication :

REP=$(unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip | awk '{if ($4~/\/$/) { if (split($4,array,"/")==2) {print $4; exit}}}') a écrit :

on récupére les infos de l'archive avec (Cf post#7 pour le résultat)

unzip -qql laravel-laravel-v3.2.12-4-gf25d09d.zip

Puis on redirige toutes la liste de fichier dans awk grâce au pipe '|' et awk travaille comme suit :
Si le 4ème champ de chaque ligne se termine par '/' (=> c'est un dossier)
Alors
    Si il y a 2 '/' dans la chaîne
    Alors
        On affiche le nom
        On sort de la boucle car on ne veut que le premier

Le tout est récupéré dans la variable REP

Hors ligne

#12 Le 07/12/2012, à 13:34

lanzrg

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Merci pour les explications. wink

Voici ma fonction finale, pour ceux que ça intéresserait.
(le nom de la fonction n'est pas top, mais bon ça se change...)

function exDirZip() {
	# Get name of the first directory in a .zip archive
	REP=$(unzip -qql $1 | awk '{if ($4~/\/$/) { if (split($4,array,"/")==2) {print $4; exit}}}')

	# Unzip this directory
	unzip $1 $REP*

	# Move directory files in the current directory
	mv $REP* .

	# Delete the extracted directory and the archive
	rm -r $REP
	rm -r $1
}

Hors ligne

#13 Le 07/12/2012, à 18:33

elendil

Re : [bash] Dézipper le contenu d'un dossier d'un .zip ?

Un petit résolu dans le titre ? => Éditer le premier message et ajouter résolu juste avant "[bash]"

Hors ligne

Haut de page ↑