samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Получили:$ pacman -Qi nvidia Название : nvidia Версия : 325.15-5 Описание : NVIDIA drivers for linux Архитектура : i686 URL : http://www.nvidia.com/ Лицензии : custom Группы : Нет Предоставляет : Нет Зависит от : linux>=3.10 linux<3.11 nvidia-libgl nvidia-utils=325.15 Дополнительно : Нет Требуется пакетами : Нет Дополнительно для : Нет Конфликтует с : nvidia-96xx nvidia-173xx Заменяет : Нет Установленный размер: 3731,00 KiB Сборщик : Evangelos Foutras <[email protected]> Дата сборки : Сб 31 авг 2013 00:41:40 Дата установки : Сб 31 авг 2013 21:13:59 Причина установки : Явно установлен Установочный скрипт : Yes Проверен : Подпись $
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
citadeldimon, пока не всё так серьёзно, эта защита мне ещё предстоит в возможном будущем. Рад встретить коллегу!!! Где защищались? По какой теме специализируетесь?
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Как бы вопрос уже решили. Что вы имеете ввиду? Именно каталогизатора нет.
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Основной вопрос решили, осталось дотумкать и всё будет чудесно. Благодарю, nafanja и всех, за терпение и понимание!!! ![]()
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Не изменилось ничего, добавилось только следующее:$ sh /media/bcb536f2-ef06-4838-ad5e-b48bb6960be0/1.sh «Magisterskaya_programma_Differencial'nye_i_integral'nye_uravneniya.doc» -> «Магистерская_программа_Дифференcиалъные_и_интегралъные_уравнения.доc» «Specifikaciya_moego_komp'yutera.odt» -> «Спеcификаcия_моего_компъютера.одт» mv: невозможно перенести «ландиши» в свой собственный подкаталог, «ландиши/ландиши» /media/bcb536f2-ef06-4838-ad5e-b48bb6960be0/1.sh: line 10: /media/bcb536f2-ef06-4838-ad5e-b48bb6960be0/1.sh: Отказано в доступе $
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
nafanjaТак и делаю, вопросы выше... (((Нет притензий к скрипту, на который выше сослался?Ну возьми протестируй и узнаешь. )))
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Многое просто стало не ясно, Спасибо Вам за помощь! Нет притензий к скрипту, на который выше сослался? Взял тут. Правда он подкаталоги не проходит и переименовывает даже расширения. Как исправить, подскажите пожалуйста?
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
nafanjaЧудным образом копирует! Очень благодарен. Мы можем попробовать транслит перевести на русский? Например вот так: #!/bin/bash shopt -s nullglob for NAME in * ; do TRS=`echo $NAME | sed -e "s/tz/ц/g" -e "s/sh/ш/g" -e "s/sch/щ/g" -e "s/zh/ж/g" -e "s/ch/ч/g" -e "s/yu/ю/g" -e "s/ya/я/g" -e "s/yo/ё/g" -e "s/YO/Ё/g" -e "s/TZ/Ц/g" -e "s/SH/Ш/g" -e "s/SCH/Щ/g" -e "s/ZH/Ж/g" -e "s/CH/Ч/g" -e "s/YU/Ю/g" -e "s/YA/Я/g" -e "y/jukengzh'fyvaproldesmit'bJUKENGZH'FYVAPROLDESMIT'B/йукенгзхъфывапролдэсмитьбЙУКЕНГЗХЪФЫВАПРОЛДЭСМИТЬБ/"` if [[ `file -b "$NAME"` == directory ]]; then mv -v "$NAME" "$TRS" cd "$TRS" "$0" cd .. else mv -v "$NAME" "$TRS" fi done
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Добавил фильтр и запустил sh /media/bcb536f2-ef06-4838-ad5e-b48bb6960be0/0.sh, пока ничего не происходит... ан нет, что-то начало выдавать... и на этом закончил он
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|
samson4747 |
|
![]()
Темы:
33
Сообщения:
534
Участник с: 23 февраля 2012
|
Запустил, ещё работает, вижу, что имена переименовываются с русского на транслит, это мы вернём обратно? Благодарю за скрипт. sh /media/bcb536f2-ef06-4838-ad5e-b48bb6960be0/0.sh Это у меня 1881 файл с левыми символами был? Просто find > file.list дал 7426 файла. Теперь буду предельно внимателен с именами.
"If you try to hide the complexity of the system, you'll end up with a more complex system". Layers of abstraction that serve to hide internals are never a good thing. Instead, the internals should be designed in a way such that they NEED no hiding. —Aaron Griffin
|