Skip to content

Commit

Permalink
Preparing version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
turulomio committed Nov 1, 2018
1 parent f521957 commit 5fee8bc
Show file tree
Hide file tree
Showing 9 changed files with 179 additions and 69 deletions.
18 changes: 6 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,9 @@ Here you have a console video example:

![English howto](https://raw.githubusercontent.com/Turulomio/recpermissions/master/doc/ttyrec/recpermissions_howto_en.gif)

Basic Example
-------------
Once installed, you can see man documentation with

This command will change user and group to current user and to current user main group. Files will have rw-r--r-- permisions and directories rwxr-xr-x permisions. If the script finds empty dirs it will NOT remove them:

`recpermissions /home/user/`

Full Example
------------

This command will change user and group to root user and group. Files will have rw-r----- permisions and directories rwxr-x--- permisions. If the script finds empty dirs it will remove them:

`recpermissions --user root --group root --files 640 --directories 750 --remove_emptydirs /home/user/`
`man recpermissions`

License
=======
Expand Down Expand Up @@ -53,6 +43,10 @@ Dependencies

Changelog
=========
1.1.0
* Added 30 seconds to reload video in howto.py
* Nothing is changed if --user --group --files or --directories is not set.

1.0.0
* Version fully operational
* Added howto video in English and Spanish
Expand Down
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ PROJECT_NAME = RecPermissions
# could be handy for archiving the generated documentation or if some version
# control system is used.

PROJECT_NUMBER = 1.0.0
PROJECT_NUMBER = 1.1.0

# Using the PROJECT_BRIEF tag one can provide an optional one line description
# for a project that appears at the top of each page and should give viewer a
Expand Down
95 changes: 74 additions & 21 deletions locale/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: TooManyFiles\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-30 05:59+0100\n"
"POT-Creation-Date: 2018-11-01 20:12+0100\n"
"PO-Revision-Date: 2018-10-22 18:51+0100\n"
"Last-Translator: root <turulomio@yahoo.es>\n"
"Language-Team: Spanish\n"
Expand All @@ -18,6 +18,24 @@ msgstr ""
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"

msgid "New Release:"
msgstr "Nueva versión:"

msgid " * Cambiar la versión y la fecha en version.py"
msgstr ""

msgid " * Modificar el Changelog en el fichero README"
msgstr ""

msgid " * Make a new tag in github"
msgstr " * Hacer un nuevo tag en GitHub"

msgid " * Create a new gentoo ebuild with the new version"
msgstr " * Crea un nuevo ebuild de Gentoo con la nueva versión"

msgid " * Upload to portage repository"
msgstr " * Subelo al repositorio del portage"

msgid "Uninstall command only works in Linux"
msgstr "El comando 'uninstall' solo funciona en Linux"

Expand All @@ -33,14 +51,17 @@ msgstr "Esta aplicación tiene los siguientes parámetros obligatorios"
msgid "User used to change files owner."
msgstr "Usuario usado para cambiar el propietario de los ficheros"

msgid "It does nothing if it's not set"
msgstr "No hace nada si no se ha establecido"

msgid "Group used to change files owner group."
msgstr "Grupo usado para cambiar el grupo del propietario del fichero"

msgid "File permissions in octal to be used. 644 by default."
msgstr "Permisos de ficheros a usar en octal. 644 por defecto."
msgid "File permissions in octal to be used."
msgstr "Permisos del fichero en octal a usar"

msgid "Directory permissions in octal to be used. 755 by default."
msgstr "Permisos de directorio a usar en octal. 755 por defecto."
msgid "Directory permissions in octal to be used."
msgstr "Permisos del directorio en octal a usar"

msgid "When used in script, removes all empty dirs recursively from path."
msgstr "Cuando se usa en el script, borra todos los directorios vacios rescursivamente desde la ruta"
Expand All @@ -51,14 +72,23 @@ msgstr "Para evitar errores y cambios erróneos, la ruta pasada debe ser absolut
msgid "EXAMPLES"
msgstr "EJEMPLOS"

msgid "Basic Example"
msgstr "Ejemplo básico"
msgid "Null Example"
msgstr "Ejemplo nulo"

msgid "recpermissions /home/user/"
msgstr "recpermissions /home/user"

msgid "This command will change user and group to current user and to current user main group. Files will have rw-r--r-- permisions and directories rwxr-xr-x permisions. If the script finds empty dirs it will NOT remove them:"
msgstr "Este comando cambiará el usuario y el grupo al usuario y grupo principal logueado. Los ficheros tendrán los permisos rw-r--r-- y los directorios rwxr-xr-x. Si el script encontrara directorios vacios NO los borrará:"
msgid "This comand does nothing"
msgstr "Este comando no hace nada"

msgid "Partial Example"
msgstr "Ejemplo parcial"

msgid "recpermissions --user user --files 644 /home/user/"
msgstr "recpermissions --user user --files 644 /home/user/"

msgid "This command only changes user permissions and files permissions to 644. Group and directory permissions are not changed:"
msgstr "Este comando solo cambia el usuario y los permisos del fichero a 644. El grupo y los permisos de los directorios no son cambiados:"

msgid "Full Example"
msgstr "Ejemplo completo"
Expand All @@ -78,21 +108,17 @@ msgstr "Busca patrónes de fecha y hora para borrar ficheros o directorios innec
msgid "Developed by Mariano Muñoz 2018-{}"
msgstr "Desarrollado por Mariano Muñoz 2018-{}"

#, python-format
msgid "File owner will be changed to this parameter. Default user is '%(default)s'"
msgstr "El propietario del fichero será cambiado a este parámetro. El usuario por defecto es '%(default)s'"
msgid "File owner will be changed to this parameter. It does nothing if it's not set."
msgstr "El propietario del fichero será cambiado a este parámetro. No hace nada si no se establece."

#, python-format
msgid "File owner group will be changed to this parameter. The default value is '%(default)s'."
msgstr "El grupo propietario del fichero será cambiado a este parámetro. El valor por defecto es '%(default)s'"
msgid "File owner group will be changed to this parameter. It does nothing if it's not set."
msgstr "El grupo del propietario del fichero será cambiado a este parámetro. No hace nada si no se establece."

#, python-format
msgid "File permissions to set in all files. The default value is '%(default)s'."
msgstr "Permisos para poner en todos los ficheros. El valor por defecto es '%(default)s'"
msgid "File permissions to set in all files. It does nothing if it's not set."
msgstr "Permisos del fichero a establecer en todos los ficheros. No hace nada si no se establece"

#, python-format
msgid "Directory permissions to set in all directories. The default value is '%(default)s'."
msgstr "Permisor para poner en todos los directorios. El valor por defecto es '%(default)s'"
msgid "Directory permissions to set in all directories. It does nothing if it's not set."
msgstr "Permisos del directorio a establecer en todos los directorios. No hace nada si no se establece"

msgid "If it's established, removes empty directories recursivily from current path."
msgstr "Si se establece, borra todos los directorios vacios recursivamente desde la ruta actual."
Expand Down Expand Up @@ -139,5 +165,32 @@ msgstr "Comprobamos el resultado"
msgid "That's all"
msgstr "Eso es todo"

#~ msgid "Basic Example"
#~ msgstr "Ejemplo básico"

#~ msgid "This command does nothing. No parameter are set:"
#~ msgstr "Este comando no hace nada. Ningún parámetro ha sido establecido:"

#~ msgid "File permissions in octal to be used. 644 by default."
#~ msgstr "Permisos de ficheros a usar en octal. 644 por defecto."

#~ msgid "Directory permissions in octal to be used. 755 by default."
#~ msgstr "Permisos de directorio a usar en octal. 755 por defecto."

#~ msgid "This command will change user and group to current user and to current user main group. Files will have rw-r--r-- permisions and directories rwxr-xr-x permisions. If the script finds empty dirs it will NOT remove them:"
#~ msgstr "Este comando cambiará el usuario y el grupo al usuario y grupo principal logueado. Los ficheros tendrán los permisos rw-r--r-- y los directorios rwxr-xr-x. Si el script encontrara directorios vacios NO los borrará:"

#~ msgid "File owner will be changed to this parameter. Default user is '%(default)s'"
#~ msgstr "El propietario del fichero será cambiado a este parámetro. El usuario por defecto es '%(default)s'"

#~ msgid "File owner group will be changed to this parameter. The default value is '%(default)s'."
#~ msgstr "El grupo propietario del fichero será cambiado a este parámetro. El valor por defecto es '%(default)s'"

#~ msgid "File permissions to set in all files. The default value is '%(default)s'."
#~ msgstr "Permisos para poner en todos los ficheros. El valor por defecto es '%(default)s'"

#~ msgid "Directory permissions to set in all directories. The default value is '%(default)s'."
#~ msgstr "Permisor para poner en todos los directorios. El valor por defecto es '%(default)s'"

#~ msgid "{} empty dirs were removed"
#~ msgstr "{} directorios vacios fueron borrados"
52 changes: 39 additions & 13 deletions locale/recpermissions.pot
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2018-10-30 06:15+0100\n"
"POT-Creation-Date: 2018-11-01 20:12+0100\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
Expand All @@ -17,6 +17,24 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

msgid "New Release:"
msgstr ""

msgid " * Cambiar la versión y la fecha en version.py"
msgstr ""

msgid " * Modificar el Changelog en el fichero README"
msgstr ""

msgid " * Make a new tag in github"
msgstr ""

msgid " * Create a new gentoo ebuild with the new version"
msgstr ""

msgid " * Upload to portage repository"
msgstr ""

msgid "Uninstall command only works in Linux"
msgstr ""

Expand All @@ -32,13 +50,16 @@ msgstr ""
msgid "User used to change files owner."
msgstr ""

msgid "It does nothing if it's not set"
msgstr ""

msgid "Group used to change files owner group."
msgstr ""

msgid "File permissions in octal to be used. 644 by default."
msgid "File permissions in octal to be used."
msgstr ""

msgid "Directory permissions in octal to be used. 755 by default."
msgid "Directory permissions in octal to be used."
msgstr ""

msgid "When used in script, removes all empty dirs recursively from path."
Expand All @@ -50,13 +71,22 @@ msgstr ""
msgid "EXAMPLES"
msgstr ""

msgid "Basic Example"
msgid "Null Example"
msgstr ""

msgid "recpermissions /home/user/"
msgstr ""

msgid "This command will change user and group to current user and to current user main group. Files will have rw-r--r-- permisions and directories rwxr-xr-x permisions. If the script finds empty dirs it will NOT remove them:"
msgid "This comand does nothing"
msgstr ""

msgid "Partial Example"
msgstr ""

msgid "recpermissions --user user --files 644 /home/user/"
msgstr ""

msgid "This command only changes user permissions and files permissions to 644. Group and directory permissions are not changed:"
msgstr ""

msgid "Full Example"
Expand All @@ -77,20 +107,16 @@ msgstr ""
msgid "Developed by Mariano Muñoz 2018-{}"
msgstr ""

#, python-format
msgid "File owner will be changed to this parameter. Default user is '%(default)s'"
msgid "File owner will be changed to this parameter. It does nothing if it's not set."
msgstr ""

#, python-format
msgid "File owner group will be changed to this parameter. The default value is '%(default)s'."
msgid "File owner group will be changed to this parameter. It does nothing if it's not set."
msgstr ""

#, python-format
msgid "File permissions to set in all files. The default value is '%(default)s'."
msgid "File permissions to set in all files. It does nothing if it's not set."
msgstr ""

#, python-format
msgid "Directory permissions to set in all directories. The default value is '%(default)s'."
msgid "Directory permissions to set in all directories. It does nothing if it's not set."
msgstr ""

msgid "If it's established, removes empty directories recursivily from current path."
Expand Down
30 changes: 23 additions & 7 deletions man/es/man1/recpermissions.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH RECPERMISSIONS 1 2018\-10\-30
.TH RECPERMISSIONS 1 2018\-11\-01
.SH NAME

.B RecPermissions:
Expand All @@ -19,7 +19,7 @@ Esta aplicaci\('on tiene los siguientes par\('ametros obligatorios
.PP
.RS
.RS
Usuario usado para cambiar el propietario de los ficheros
Usuario usado para cambiar el propietario de los ficheros No hace nada si no se ha establecido
.RE
.RE
.PP
Expand All @@ -29,7 +29,7 @@ Usuario usado para cambiar el propietario de los ficheros
.PP
.RS
.RS
Grupo usado para cambiar el grupo del propietario del fichero
Grupo usado para cambiar el grupo del propietario del fichero No hace nada si no se ha establecido
.RE
.RE
.PP
Expand All @@ -39,7 +39,7 @@ Grupo usado para cambiar el grupo del propietario del fichero
.PP
.RS
.RS
Permisos de ficheros a usar en octal. 644 por defecto.
Permisos del fichero en octal a usar No hace nada si no se ha establecido
.RE
.RE
.PP
Expand All @@ -49,7 +49,7 @@ Permisos de ficheros a usar en octal. 644 por defecto.
.PP
.RS
.RS
Permisos de directorio a usar en octal. 755 por defecto.
Permisos del directorio en octal a usar No hace nada si no se ha establecido
.RE
.RE
.PP
Expand All @@ -76,7 +76,7 @@ Para evitar errores y cambios err\('oneos, la ruta pasada debe ser absoluta

.PP
.RS
.B Ejemplo b\('asico
.B Ejemplo nulo
.RE
.PP
.RS
Expand All @@ -87,7 +87,23 @@ recpermissions /home/user
.PP
.RS
.RS
Este comando cambiar\('a el usuario y el grupo al usuario y grupo principal logueado. Los ficheros tendr\('an los permisos rw\-r\-\-r\-\- y los directorios rwxr\-xr\-x. Si el script encontrara directorios vacios NO los borrar\('a:
This comand does nothing
.RE
.RE
.PP
.RS
.B Ejemplo parcial
.RE
.PP
.RS
.RS
recpermissions \-\-user user \-\-files 644 /home/user/
.RE
.RE
.PP
.RS
.RS
Este comando solo cambia el usuario y los permisos del fichero a 644. El grupo y los permisos de los directorios no son cambiados:
.RE
.RE
.PP
Expand Down
Loading

0 comments on commit 5fee8bc

Please sign in to comment.