| View previous topic :: View next topic |
| Author |
Message |
lowang_19 n00b


Joined: 28 Oct 2005 Posts: 66
|
Posted: Tue Jan 30, 2007 10:38 pm Post subject: [Mini-TIP] Compresser des dossiers avec ROX-Filer |
|
|
J'utilise beaucoup Rox-Filer, et il est souvent fastidieux d'ouvrir un terminal pour compresser un dossier.
En faisant:
- clic droit sur le dossier
- envoyer à...
- personaliser
On fait apparaitre le dossier ~/.config/rox.sourceforge.net/SendTo
Créer un fichier nommé zip.sh et y copier ceci:
| Code: | #!/bin/bash
DIRNAME="$(dirname $@)"
FILENAME="$(basename $@)"
cd "$DIRNAME"
zip -r "${FILENAME}.zip" ./${FILENAME} |
ne pas oublier le célèbre:
et ensuite,
- clic droit sur le dossier
- envoyer à...
- zip.sh
et voila! On peut créer un autre script pour tar.gz ou autre... |
|
| Back to top |
|
 |
truc Advocate


Joined: 25 Jul 2005 Posts: 3078
|
|
| Back to top |
|
 |
lowang_19 n00b


Joined: 28 Oct 2005 Posts: 66
|
Posted: Tue Jan 30, 2007 11:47 pm Post subject: |
|
|
woops, désolé je n'avais pas vu ce thread...  |
|
| Back to top |
|
 |
truc Advocate


Joined: 25 Jul 2005 Posts: 3078
|
Posted: Tue Jan 30, 2007 11:49 pm Post subject: |
|
|
bah non pas désolé, c'set bien:) t'as ressenti le même besoin, et voila, t'as agi
C'était juste histoire de refaire "monter" un de mes posts:) (même si en vrai il n'a pas bougé... )
Par contre, je suis tout ouïe si tu as des commentaires:) _________________ The End of the Internet! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|