Identi.ca Identi.ca
  • Login
  • Public

    • Public
    • Groups
    • Featured
    • Popular

Conversation

Notices

  1. Colin Dean Colin Dean Ubuntu users

    I have a directory tree containing files and I need to recursively chmod only a certain filetype to 644. Help? !ubuntu

    Friday, 14-May-10 00:20:10 UTC from Adium at Pittsburgh, Pennsylvania, United States
    • Hilton Garcia Fernandes Hilton Garcia Fernandes

      @colindean please explain filetype: defined by contents or by name termination ?

      Friday, 14-May-10 00:30:27 UTC
    • Colin Dean Colin Dean Hilton Garcia Fernandes

      @hgfernan filename, .mp3. I know I need to use something like find . | grep mp3 | xargs chmod 644

      Friday, 14-May-10 00:32:06 UTC
    • Hilton Garcia Fernandes Hilton Garcia Fernandes

      @colindean "man find" is your friend: find . -name \*mp3 -exec chmod +644 '{} ' \;

      Friday, 14-May-10 00:45:54 UTC
    • Hilton Garcia Fernandes Hilton Garcia Fernandes

      @colindean Mommy, I found it! — 15 Practical Linux Find Command Examples http://bit.ly/a2f601 all about #find

      Friday, 14-May-10 00:47:14 UTC
    • Jean Levasseur Jean Levasseur

      @colindean: man find

      Friday, 14-May-10 00:48:08 UTC
    • Colin Dean Colin Dean Hilton Garcia Fernandes

      @hgfernan thanks. no man pages on the system I was on, didn't think to use the 'net, haha

      Friday, 14-May-10 01:42:33 UTC
    • Colin Dean Colin Dean Hilton Garcia Fernandes

      @hgfernan Hmm. It's not working. I'm in Busybox, btw. When I run that, Busybox yells at me.

      Friday, 14-May-10 01:45:13 UTC
    • Hilton Garcia Fernandes Hilton Garcia Fernandes

      @colindean sorry, #busybox is much more limited. gonna try that under #openwrt tomorrow. your page in #identica is cool.

      Friday, 14-May-10 02:53:50 UTC
    • Colin Dean Colin Dean Hilton Garcia Fernandes

      @hgfernan why thank you. and thank you for helping me out. linux and osx see the files just fine, but windows borks on 777 apparently

      Friday, 14-May-10 02:56:19 UTC
    • Jochen Jochen

      @colindean try: find ./ -name *.xxx -exec chmod -R 644 {} \;

      Friday, 14-May-10 05:34:42 UTC

Site notice

  • API
  • Status

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Identi.ca is a microblogging service brought to you by Status.net. It runs the StatusNet microblogging software, version 1.1.0-alpha1, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Identi.ca content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.

Built in Montreal