rm no dir?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Sample dir for testing purposes.

In the following how can this be done,
so the symlink is kept.


ls -l /nfs/yum/x86_64/16/_local/

-rw-rw----+ 1 root root 4939e67271963d8214859447421aa2d5d76132703a68fec172e365d465324e53-primary.sqlite
lrwxrwxrwx. 1 root root packages -> /nfs/yum/i386/16/_local/packages
-rw-rw----+ 1 root root repomd.xml

 echo rm /nfs/yum/x86_64/16/_local/*
rm /nfs/yum/x86_64/16/_local/4939e67271963d8214859447421aa2d5d76132703a68fec172e365d465324e53-primary.sqlite /nfs/yum/x86_64/16/_local/packages /nfs/yum/x86_64/16/_local/repomd.xml


man rm doesn't give anything on keeping symlinks.
I would like to have the job eventually to run as a cron.


--
Regards
Frank "Jack of all Fubars"
--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux